]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - builtin/init.lua
Avoid marking map blocks dirty upon deserialization.
[dragonfireclient.git] / builtin / init.lua
index e94f3213a41fe679dc50c8a3deaa9482d1349106..75bb3db8507cbf2bf26f929ac8ad947660c50e39 100644 (file)
@@ -21,7 +21,6 @@ if core.print then
        core.print = nil -- don't pollute our namespace
 end
 math.randomseed(os.time())
-os.setlocale("C", "numeric")
 minetest = core
 
 -- Load other files
@@ -37,6 +36,7 @@ dofile(commonpath .. "misc_helpers.lua")
 
 if INIT == "game" then
        dofile(gamepath .. "init.lua")
+       assert(not core.get_http_api)
 elseif INIT == "mainmenu" then
        local mm_script = core.settings:get("main_menu_script")
        if mm_script and mm_script ~= "" then
@@ -47,7 +47,6 @@ elseif INIT == "mainmenu" then
 elseif INIT == "async" then
        dofile(asyncpath .. "init.lua")
 elseif INIT == "client" then
-       os.setlocale = nil
        dofile(clientpath .. "init.lua")
 else
        error(("Unrecognized builtin initialization type %s!"):format(tostring(INIT)))