Skip to content

Commit

Permalink
Fix usage of 'minetest' where 'engine' was intended
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowNinja committed Nov 22, 2013
1 parent 5323d80 commit e52d811
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions builtin/modmgr.lua
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e52d811

Please sign in to comment.