summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
Diffstat (limited to 'builtin')
-rw-r--r--builtin/game/statbars.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/builtin/game/statbars.lua b/builtin/game/statbars.lua
index ccc192ba4..c0d49332f 100644
--- a/builtin/game/statbars.lua
+++ b/builtin/game/statbars.lua
@@ -37,6 +37,9 @@ local function initialize_builtin_statbars(player)
if (hud_ids[name] == nil) then
hud_ids[name] = {}
+ -- flags are not transmitted to client on connect, we need to make sure
+ -- our current flags are transmitted by sending them actively
+ player:hud_set_flags(player:hud_get_flags())
end
if player:hud_get_flags().healthbar and