From 214a8b4597728213065f1bf880f4357b723b5bea Mon Sep 17 00:00:00 2001 From: Ilya Zhuravlev Date: Mon, 18 Feb 2013 13:58:55 +0400 Subject: [PATCH] Set numeric locale for Lua --- builtin/builtin.lua | 1 + 1 file changed, 1 insertion(+) 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")