aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorIlya Zhuravlev <zhuravlevilya@ya.ru>2013-02-18 13:58:55 +0400
committerIlya Zhuravlev <zhuravlevilya@ya.ru>2013-02-18 13:58:55 +0400
commit214a8b4597728213065f1bf880f4357b723b5bea (patch)
treebf1e374b9616554dfe0896940efa6e7e2eccce1e /builtin
parent8d920dd09b2c354bf9993d9184132f7f2a68b027 (diff)
downloadminetest-214a8b4597728213065f1bf880f4357b723b5bea.tar.gz
minetest-214a8b4597728213065f1bf880f4357b723b5bea.tar.bz2
minetest-214a8b4597728213065f1bf880f4357b723b5bea.zip
Set numeric locale for Lua
Diffstat (limited to 'builtin')
-rw-r--r--builtin/builtin.lua1
1 files changed, 1 insertions, 0 deletions
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")