summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2015-02-04 01:14:47 +0100
committerWuzzy <almikes@aol.com>2015-02-04 01:14:47 +0100
commit8a9d81303c8cf0188cd2f421ba0a8c4b9b64008e (patch)
treebb0bfd10f32721a5f52ac224e4290405feb9a26c /init.lua
parent2a2db9ab9c6afa35d6f435abfc8d6c4124e639b0 (diff)
Change mod name to “hudbars” in source code ... at least partially
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/init.lua b/init.lua
index 1dc9809..09c307f 100644
--- a/init.lua
+++ b/init.lua
@@ -68,9 +68,9 @@ if minetest.get_modpath("3d_armor") ~= nil then
end
--load custom settings
-local set = io.open(minetest.get_modpath("hud").."/hud.conf", "r")
+local set = io.open(minetest.get_modpath("hudbars").."/hud.conf", "r")
if set then
- dofile(minetest.get_modpath("hud").."/hud.conf")
+ dofile(minetest.get_modpath("hudbars").."/hud.conf")
set:close()
else
if not HUD_ENABLE_HUNGER then
@@ -176,8 +176,8 @@ function hud.set_armor()
end
-if HUD_ENABLE_HUNGER then dofile(minetest.get_modpath("hud").."/hunger.lua") end
-if HUD_SHOW_ARMOR then dofile(minetest.get_modpath("hud").."/armor.lua") end
+if HUD_ENABLE_HUNGER then dofile(minetest.get_modpath("hudbars").."/hunger.lua") end
+if HUD_SHOW_ARMOR then dofile(minetest.get_modpath("hudbars").."/armor.lua") end
-- update hud elemtens if value has changed
local function update_hud(player)