From 214a8b4597728213065f1bf880f4357b723b5bea Mon Sep 17 00:00:00 2001 From: Ilya Zhuravlev Date: Mon, 18 Feb 2013 13:58:55 +0400 Subject: Set numeric locale for Lua --- builtin/builtin.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'builtin') diff --git a/builtin/builtin.lua b/builtin/builtin.lua index f2811fa9c..bf33cbe6b 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") -- cgit v1.2.3