mirror of
https://github.com/minetest/minetest.git
synced 2024-11-23 16:13:46 +01:00
Fix usage of 'minetest' where 'engine' was intended
This commit is contained in:
parent
5323d800cc
commit
e52d811110
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user