diff options
author | sapier <Sapier at GMX dot net> | 2014-05-11 00:35:31 +0200 |
---|---|---|
committer | sapier <Sapier at GMX dot net> | 2014-05-11 22:34:44 +0200 |
commit | 6c37e89f08f962eaba788a31f5d3c798ceaa65e6 (patch) | |
tree | 3332dd691a5820b472fb4a2c649c860fee9bb340 /builtin | |
parent | 167df02e3d69dd0e8c8915944e6bab00417b15d5 (diff) | |
download | minetest-6c37e89f08f962eaba788a31f5d3c798ceaa65e6.tar.gz minetest-6c37e89f08f962eaba788a31f5d3c798ceaa65e6.tar.bz2 minetest-6c37e89f08f962eaba788a31f5d3c798ceaa65e6.zip |
Fix old client showing duplicated health bar on new server
Fix client not showing hearts and bubbles on connecting to old server
Fix server not remembering hud flags correctly
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/game/statbars.lua | 3 |
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 |