projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d920dd
)
Set numeric locale for Lua
author
Ilya Zhuravlev
<zhuravlevilya@ya.ru>
Mon, 18 Feb 2013 09:58:55 +0000
(13:58 +0400)
committer
Ilya Zhuravlev
<zhuravlevilya@ya.ru>
Mon, 18 Feb 2013 09:58:55 +0000
(13:58 +0400)
builtin/builtin.lua
patch
|
blob
|
history
diff --git
a/builtin/builtin.lua
b/builtin/builtin.lua
index f2811fa9c4cc00dbaf71795bde331f293c8dae48..bf33cbe6bbd5555900a6e568e0a934a975891a4d 100644
(file)
--- a/
builtin/builtin.lua
+++ b/
builtin/builtin.lua
@@
-8,6
+8,7
@@
-- Initialize some very basic things
print = minetest.debug
math.randomseed(os.time())
+os.setlocale("C", "numeric")
-- Load other files
dofile(minetest.get_modpath("__builtin").."/serialize.lua")