diff options
author | red-001 <red-001@outlook.ie> | 2018-01-21 12:28:47 +0000 |
---|---|---|
committer | SmallJoker <mk939@ymail.com> | 2018-06-03 17:32:00 +0200 |
commit | bb28afcfc337b73bff2b46ff1a1b8844e035c96e (patch) | |
tree | a49abfb88cca3c22fe61d2f3a6aed3818f0c42d9 /builtin | |
parent | 880a25c92182bd10e8a80930909cf505e851ea65 (diff) | |
download | minetest-bb28afcfc337b73bff2b46ff1a1b8844e035c96e.tar.gz minetest-bb28afcfc337b73bff2b46ff1a1b8844e035c96e.tar.bz2 minetest-bb28afcfc337b73bff2b46ff1a1b8844e035c96e.zip |
Move `setlocale` from Lua to C++.
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/init.lua | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/builtin/init.lua b/builtin/init.lua index 356e119fb..73ab5cfd0 100644 --- a/builtin/init.lua +++ b/builtin/init.lua @@ -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 @@ -47,7 +46,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))) |