aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPilzAdam <pilzadam@minetest.net>2013-07-08 02:28:36 +0200
committerPilzAdam <pilzadam@minetest.net>2013-07-08 02:28:36 +0200
commit9bd5f612f75b3eaf9f981bd76f7fc6081c04d410 (patch)
tree6107ac8099c86cf32a2ebfbb5742b23fcd01feef
parent6bc3a43d52c04b6a91787bcb49d0044f1452fc4e (diff)
downloadminetest-9bd5f612f75b3eaf9f981bd76f7fc6081c04d410.tar.gz
minetest-9bd5f612f75b3eaf9f981bd76f7fc6081c04d410.tar.bz2
minetest-9bd5f612f75b3eaf9f981bd76f7fc6081c04d410.zip
Set numeric locale in Lua in main menu
-rw-r--r--builtin/mainmenu.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/builtin/mainmenu.lua b/builtin/mainmenu.lua
index 0f418d83a..87c96d690 100644
--- a/builtin/mainmenu.lua
+++ b/builtin/mainmenu.lua
@@ -1,3 +1,5 @@
+os.setlocale("C", "numeric")
+
local scriptpath = engine.get_scriptdir()
dofile(scriptpath .. DIR_DELIM .. "modmgr.lua")