From: PilzAdam Date: Mon, 8 Jul 2013 00:28:36 +0000 (+0200) Subject: Set numeric locale in Lua in main menu X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=9bd5f612f75b3eaf9f981bd76f7fc6081c04d410;p=zefram%2Fminetest%2Fminetest_engine.git Set numeric locale in Lua in main menu --- diff --git a/builtin/mainmenu.lua b/builtin/mainmenu.lua index 0f418d83..87c96d69 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")