aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShadowNinja <shadowninja@minetest.net>2013-11-21 21:24:04 -0500
committerShadowNinja <shadowninja@minetest.net>2013-11-21 21:24:04 -0500
commite52d811110392e864332fb1a463a19983553087f (patch)
treef99cba74203348e1df0c92b1b391fc5c8da32308
parent5323d800cc67814938fb668730d474011631fab5 (diff)
downloadminetest-e52d811110392e864332fb1a463a19983553087f.tar.gz
minetest-e52d811110392e864332fb1a463a19983553087f.tar.bz2
minetest-e52d811110392e864332fb1a463a19983553087f.zip
Fix usage of 'minetest' where 'engine' was intended
-rw-r--r--builtin/modmgr.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/modmgr.lua b/builtin/modmgr.lua
index 611032d4a..7b50f0882 100644
--- a/builtin/modmgr.lua
+++ b/builtin/modmgr.lua
@@ -778,7 +778,7 @@ function modmgr.handle_configure_world_buttons(fields)
end
if not worldfile:write() then
- minetest.log("error", "Failed to write world config file")
+ engine.log("error", "Failed to write world config file")
end
modmgr.modlist = nil
@@ -932,7 +932,7 @@ function modmgr.preparemodlist(data)
if element ~= nil then
element.enabled = engine.is_yes(value)
else
- minetest.log("info", "Mod: " .. key .. " " .. dump(value) .. " but not found")
+ engine.log("info", "Mod: " .. key .. " " .. dump(value) .. " but not found")
end
end
end