Fix usage of 'minetest' where 'engine' was intended
authorShadowNinja <shadowninja@minetest.net>
Fri, 22 Nov 2013 02:24:04 +0000 (21:24 -0500)
committerShadowNinja <shadowninja@minetest.net>
Fri, 22 Nov 2013 02:24:04 +0000 (21:24 -0500)
builtin/modmgr.lua

index 611032d4ae818f5f29e972ee22ba688a95708665..7b50f0882274ce63e09054c34eb01d0a1b9f3c23 100644 (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