Skip to content

Commit 214a8b4

Browse files
author
Ilya Zhuravlev
committedFeb 18, 2013
Set numeric locale for Lua
1 parent 8d920dd commit 214a8b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎builtin/builtin.lua

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
-- Initialize some very basic things
99
print = minetest.debug
1010
math.randomseed(os.time())
11+
os.setlocale("C", "numeric")
1112

1213
-- Load other files
1314
dofile(minetest.get_modpath("__builtin").."/serialize.lua")

0 commit comments

Comments
 (0)
Please sign in to comment.