Set numeric locale for Lua

master
Ilya Zhuravlev 2013-02-18 13:58:55 +04:00
parent 8d920dd09b
commit 214a8b4597
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@
-- Initialize some very basic things -- Initialize some very basic things
print = minetest.debug print = minetest.debug
math.randomseed(os.time()) math.randomseed(os.time())
os.setlocale("C", "numeric")
-- Load other files -- Load other files
dofile(minetest.get_modpath("__builtin").."/serialize.lua") dofile(minetest.get_modpath("__builtin").."/serialize.lua")