summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2015-05-19 23:53:51 +0200
committerWuzzy <almikes@aol.com>2015-05-19 23:53:51 +0200
commitd257362ef02169be0100c745d2fe62fbcb6a5cbf (patch)
tree73960b10535eb9eb8d4d9c23e7e2557a981dc066 /init.lua
parent030c9f489f5baf0c781bae07b0e2e3acc57fe7f2 (diff)
Add background icon
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 60808c0..8b7eac0 100644
--- a/init.lua
+++ b/init.lua
@@ -35,7 +35,7 @@ end
dofile(minetest.get_modpath("hbhunger").."/hunger.lua")
-- register satiation hudbar
-hb.register_hudbar("satiation", 0xFFFFFF, "Satiation", { icon = "hbhunger_icon.png", bar = "hbhunger_bar.png" }, 20, 30, false)
+hb.register_hudbar("satiation", 0xFFFFFF, "Satiation", { icon = "hbhunger_icon.png", bgicon = "hbhunger_bgicon.png", bar = "hbhunger_bar.png" }, 20, 30, false)
-- update hud elemtens if value has changed
local function update_hud(player)