forked from mtcontrib/minetest_hudbars
Fix typo
This commit is contained in:
parent
74889570ef
commit
fb9516c15f
2
init.lua
2
init.lua
|
@ -25,7 +25,7 @@ if set then dofile(minetest.get_modpath("hud").."/hud.conf") end
|
||||||
--minetest.after(SAVE_INTERVAL, timer, SAVE_INTERVAL)
|
--minetest.after(SAVE_INTERVAL, timer, SAVE_INTERVAL)
|
||||||
|
|
||||||
local function hide_builtin(player)
|
local function hide_builtin(player)
|
||||||
player:hud_set_flags({crosshair = false, hotbar = true, healthbar = false, wielditem = true, breathbar = DISABLE_DROWNING})
|
player:hud_set_flags({crosshair = false, hotbar = true, healthbar = false, wielditem = true, breathbar = HUD_DISABLE_DROWNING})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user