number = 20,
direction = 0,
size = { x=24, y=24 },
- offset = { x=(-10*24)-25, y=-(48+24+10)},
+ offset = { x=(-10*24)-25, y=-(48+24+16)},
}
local breath_bar_definition =
number = 20,
direction = 0,
size = { x=24, y=24 },
- offset = {x=25,y=-(48+24+10)},
+ offset = {x=25,y=-(48+24+16)},
}
local hud_ids = {}
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