Fix Lua HUD documentation
authorkwolekr <kwolekr@minetest.net>
Thu, 18 Apr 2013 19:26:01 +0000 (15:26 -0400)
committerkwolekr <kwolekr@minetest.net>
Thu, 18 Apr 2013 19:26:29 +0000 (15:26 -0400)
doc/lua_api.txt

index 44b2a0b632adf7bfdd8368a3848247aebe1854ae..1308323a437530e90fbe19da3b7c6da6fd4882fa 100644 (file)
@@ -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