summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 19d82d1..9184349 100644
--- a/init.lua
+++ b/init.lua
@@ -120,7 +120,9 @@ function hud.register_hudbar(identifier, text_color, label, use_icon, default_st
state.hidden = start_hide
state.value = start_value
state.max = start_max
- return ids, state
+
+ hud.hudtables[identifier].hudids = ids
+ hud.hudtables[identifier].hudstate = state
end
hudtable.identifier = identifier