summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-12-02 22:36:10 +0100
committerWuzzy <almikes@aol.com>2016-12-02 22:36:10 +0100
commit3c182884dcf4ec1a98ca05c16c247a62abbfe50f (patch)
tree409ca2a70af5f7719072c552fc3154491f337f07
parent3d74745aec4d95d80090aa0730a7a1c1c4eab32f (diff)
Fix breath and health not being updated anymore
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index b06a85b..f5cc0ec 100644
--- a/init.lua
+++ b/init.lua
@@ -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")