mirror of
https://repo.or.cz/minetest_hbarmor.git
synced 2025-07-06 10:10:30 +02:00
Fix typo
This commit is contained in:
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
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user