Fix usage of 'minetest' where 'engine' was intended

master
ShadowNinja 2013-11-21 21:24:04 -05:00
parent 5323d800cc
commit e52d811110
1 changed files with 2 additions and 2 deletions

View File

@ -778,7 +778,7 @@ function modmgr.handle_configure_world_buttons(fields)
end end
if not worldfile:write() then if not worldfile:write() then
minetest.log("error", "Failed to write world config file") engine.log("error", "Failed to write world config file")
end end
modmgr.modlist = nil modmgr.modlist = nil
@ -932,7 +932,7 @@ function modmgr.preparemodlist(data)
if element ~= nil then if element ~= nil then
element.enabled = engine.is_yes(value) element.enabled = engine.is_yes(value)
else else
minetest.log("info", "Mod: " .. key .. " " .. dump(value) .. " but not found") engine.log("info", "Mod: " .. key .. " " .. dump(value) .. " but not found")
end end
end end
end end