diff options
author | Wuzzy <almikes@aol.com> | 2015-02-23 01:34:13 +0100 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2015-02-23 01:34:13 +0100 |
commit | 25b59646c2254903b3d1ca9a1b26140f36315952 (patch) | |
tree | beffa46f0ed5829f8ed74ac6a6bdcab3debe679d /init.lua | |
parent | 5c5b516834e5fe8670e19c61ab5851795ae98de0 (diff) |
Fix HUD elements disappearing for reconnectors
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -277,7 +277,10 @@ if set then end 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 |