From 2deb4f5b012a942e66e6593b7847fa8ee570d01c Mon Sep 17 00:00:00 2001 From: BlockMen Date: Sun, 12 Apr 2015 18:55:21 +0200 Subject: Remove useless start_value (fixes #21) --- builtin.lua | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'builtin.lua') 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", -- cgit v1.2.3