summaryrefslogtreecommitdiff
path: root/builtin/init.lua
diff options
context:
space:
mode:
authorred-001 <red-001@outlook.ie>2018-01-21 12:28:47 +0000
committersfan5 <sfan5@live.de>2018-02-08 15:38:34 +0100
commit1e94a7feaff940494a474ee549d4f2dc61f6a869 (patch)
tree59262c05efa356da015e4b04fc049db431c6dc95 /builtin/init.lua
parent0e4c467a8248d1bd2cf658096f8476ce07c86c63 (diff)
downloadminetest-1e94a7feaff940494a474ee549d4f2dc61f6a869.tar.gz
minetest-1e94a7feaff940494a474ee549d4f2dc61f6a869.tar.bz2
minetest-1e94a7feaff940494a474ee549d4f2dc61f6a869.zip
Move `setlocale` from Lua to C++.
Diffstat (limited to 'builtin/init.lua')
-rw-r--r--builtin/init.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/builtin/init.lua b/builtin/init.lua
index e94f3213a..f76174be7 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)))