summaryrefslogtreecommitdiff
path: root/builtin.lua
diff options
context:
space:
mode:
Diffstat (limited to 'builtin.lua')
-rw-r--r--builtin.lua7
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",