summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2015-02-11 20:55:22 +0100
committerWuzzy <almikes@aol.com>2015-02-11 20:55:22 +0100
commit7912e6b4ec82d37ef39432f4fea909d05cf5ba11 (patch)
treed14b43f1819a1611b0d068dabc5267c9c7396f83 /init.lua
parent4b1c38fdcf6ba5dab86d8f1ff5d0927136d479d2 (diff)
Rename “start_hide” to “start_hidden”
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