Skip to content

Commit

Permalink
Set numeric locale for Lua
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilya Zhuravlev committed Feb 18, 2013
1 parent 8d920dd commit 214a8b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions builtin/builtin.lua
Expand Up @@ -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")
Expand Down

0 comments on commit 214a8b4

Please sign in to comment.