summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index fc2b2c1..de37e38 100644
--- a/init.lua
+++ b/init.lua
@@ -65,7 +65,7 @@ function hb.get_hudtable(identifier)
return hb.hudtables[identifier]
end
-function hb.register_hudbar(identifier, text_color, label, textures, default_start_value, default_start_max, start_hide, format_string)
+function hb.register_hudbar(identifier, text_color, label, textures, default_start_value, default_start_max, start_hidden, format_string)
local hudtable = {}
local pos, offset
if hb.hudbars_count % 2 == 0 then
@@ -133,7 +133,7 @@ function hb.register_hudbar(identifier, text_color, label, textures, default_sta
direction = 0,
offset = { x = offset.x + 2, y = offset.y },
})
- state.hidden = start_hide
+ state.hidden = start_hidden
state.value = start_value
state.max = start_max
state.text = text