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

This commit is contained in:
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
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