1
0
mirror of https://github.com/minetest/minetest.git synced 2025-01-10 10:00:22 +01:00

Set numeric locale for Lua

This commit is contained in:
Ilya Zhuravlev 2013-02-18 13:58:55 +04:00
parent 8d920dd09b
commit 214a8b4597

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")