[hud] builtin.lua: Remove undeclared global variable
"HUD_ENABLE_HUNGER".
This commit is contained in:
parent
ed7dda25dc
commit
abf9e8068d
@ -38,7 +38,7 @@ hud.show_armor = minetest.get_modpath("3d_armor") ~= nil
|
||||
|
||||
-- check if some settings are invalid
|
||||
local enable_hunger = minetest.setting_getbool("hud_hunger_enable")
|
||||
if (enable_hunger == true or HUD_ENABLE_HUNGER == true) and not hud.show_hunger then
|
||||
if enable_hunger == true and not hud.show_hunger then
|
||||
hud.notify_hunger(5)
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user