This commit is contained in:
Wuzzy 2015-02-24 06:45:16 +01:00
parent 903f34ff32
commit 211a0fd1b2

View File

@ -61,7 +61,7 @@ local function update_hud(player)
arm = 0 arm = 0
hbarmor.armor[name] = 0 hbarmor.armor[name] = 0
end end
if hb.autohide then if hbarmor.autohide then
-- hide armor bar completely when there is none -- hide armor bar completely when there is none
if must_hide(name, arm) then if must_hide(name, arm) then
hb.hide_hudbar(player, "armor") hb.hide_hudbar(player, "armor")