mirror of
https://repo.or.cz/minetest_hudbars.git
synced 2024-08-20 13:16:07 +02:00
Fix breath and health not being updated anymore
This commit is contained in:
parent
3d74745aec
commit
3c182884dc
2
init.lua
2
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")
|
||||
|
Loading…
Reference in New Issue
Block a user