From: Ilya Zhuravlev Date: Mon, 18 Feb 2013 09:58:55 +0000 (+0400) Subject: Set numeric locale for Lua X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=214a8b4597728213065f1bf880f4357b723b5bea;p=zefram%2Fminetest%2Fminetest_engine.git Set numeric locale for Lua --- diff --git a/builtin/builtin.lua b/builtin/builtin.lua index f2811fa9..bf33cbe6 100644 --- a/builtin/builtin.lua +++ b/builtin/builtin.lua @@ -8,6 +8,7 @@ -- Initialize some very basic things print = minetest.debug math.randomseed(os.time()) +os.setlocale("C", "numeric") -- Load other files dofile(minetest.get_modpath("__builtin").."/serialize.lua")