diff options
author | Wuzzy <almikes@aol.com> | 2015-02-04 18:14:44 +0100 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2015-02-04 18:14:44 +0100 |
commit | 563db9cb4caeb5a3c936894f728f4a9c6636a172 (patch) | |
tree | 9c5b64d964360054f57385aede320ee485516db7 | |
parent | f046592824e8c481eb839912eef0e7fa298345cd (diff) |
Set hudstate and hudids directly in add_all
-rw-r--r-- | init.lua | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |