Fix breath and health not being updated anymore

This commit is contained in:
Wuzzy 2016-12-02 22:36:10 +01:00
parent 3d74745aec
commit 3c182884dc
1 changed files with 1 additions and 1 deletions

View File

@ -496,7 +496,7 @@ end
-- update built-in HUD bars
local function update_hud(player)
if not player_exists() then return end
if not player_exists(player) then return end
if minetest.setting_getbool("enable_damage") then
if hb.settings.forceload_default_hudbars then
hb.unhide_hudbar(player, "health")