Fix HUD elements disappearing for reconnectors

This commit is contained in:
Wuzzy 2015-02-23 01:34:13 +01:00
parent 5c5b516834
commit 25b59646c2

View File

@ -277,7 +277,10 @@ if set then
end end
local function hide_builtin(player) local function hide_builtin(player)
player:hud_set_flags({healthbar = false, breathbar = false}) local flags = player:hud_get_flags()
flags.healthbar = false
flags.breathbar = false
player:hud_set_flags(flags)
end end