summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-07-23 11:47:50 +0200
committerWuzzy <almikes@aol.com>2016-07-23 11:47:50 +0200
commitf06e3c362f44a2338785098bb95b4e718a86c375 (patch)
tree3ca24c3c7b663e3fa4070e1f7d79541d6a541141 /init.lua
parentc26dd7d6a40cbc58118fbdfbf1f9eb7ead482a49 (diff)
1.4.1: Fix bug in hb.change_hudbar being a no-op
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 7421156..300778a 100644
--- a/init.lua
+++ b/init.lua
@@ -282,7 +282,7 @@ function hb.init_hudbar(player, identifier, start_value, start_max, start_hidden
end
function hb.change_hudbar(player, identifier, new_value, new_max_value, new_icon, new_bgicon, new_bar, new_label, new_text_color)
- if new_value == nil and new_max_value == nil then
+ if new_value == nil and new_max_value == nil and new_icon == nil and new_bgicon == nil and new_bar == nil and new_label == nil and new_text_color == nil then
return
end