From: PilzAdam Date: Mon, 8 Jul 2013 00:28:36 +0000 (+0200) Subject: Set numeric locale in Lua in main menu X-Git-Tag: 0.4.8~336 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9bd5f612f75b3eaf9f981bd76f7fc6081c04d410;p=oweals%2Fminetest.git Set numeric locale in Lua in main menu --- 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")