diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 44b2a0b632adf7bfdd8368a3848247aebe1854ae..1308323a437530e90fbe19da3b7c6da6fd4882fa 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -1846,7 +1846,7 @@ Detached inventory callbacks
 
 HUD Definition (hud_add, hud_get)
 {
-    type = "image",
+    hud_elem_type = "image", -- see HUD element types
     ^ type of HUD element, can be either of "image", "text", "statbar", or "inventory"
     position = {x=0.5, y=0.5},
     ^ Left corner position of element