Set numeric locale for Lua
parent
8d920dd09b
commit
214a8b4597
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue