[hud] builtin.lua: Remove undeclared global variable

"HUD_ENABLE_HUNGER".
This commit is contained in:
AntumDeluge 2016-08-12 10:01:51 -07:00
parent ed7dda25dc
commit abf9e8068d

View File

@ -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