mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Set numeric locale for Lua
This commit is contained in:
parent
8d920dd09b
commit
214a8b4597
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue