diff options
author | BlockMen <nmuelll@web.de> | 2015-04-12 18:55:21 +0200 |
---|---|---|
committer | BlockMen <nmuelll@web.de> | 2015-04-12 18:55:21 +0200 |
commit | 2deb4f5b012a942e66e6593b7847fa8ee570d01c (patch) | |
tree | a66100812264e83f964a0e36528064a529231860 | |
parent | 2716306fa809532d1fe1b089ea39f8aa3642bc43 (diff) |
Remove useless start_value (fixes #21)
-rw-r--r-- | builtin.lua | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/builtin.lua b/builtin.lua index 7169c4c..ea64992 100644 --- a/builtin.lua +++ b/builtin.lua @@ -79,17 +79,12 @@ if damage_enabled then max = 20, }) - local start_value = 0 - if hud.show_hunger then - start_value = 20 - end - hud.register("hunger", { hud_elem_type = "statbar", position = HUD_HUNGER_POS, size = HUD_SB_SIZE, text = "hud_hunger_fg.png", - number = start_value, + number = 0, alignment = {x=-1,y=-1}, offset = HUD_HUNGER_OFFSET, background = "hud_hunger_bg.png", |