Temporarily set default biome in builtin
[oweals/minetest.git] / builtin / game / statbars.lua
index ccc192ba4098dfe7b55a1f29d47916daa766106d..c0d49332f8896b3b99bbafc4a6e877b1b75b4171 100644 (file)
@@ -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