[CSM] Fix and improve minetest.get_language()
authorsfan5 <sfan5@live.de>
Sat, 9 Nov 2019 15:15:05 +0000 (16:15 +0100)
committersfan5 <sfan5@live.de>
Mon, 11 Nov 2019 13:06:48 +0000 (14:06 +0100)
commitc44318a253783dde37e3bb688e29927da3b4cac0
tree67cd18e68ed0b9aa6a3d0182a6e44928c6fdafd5
parent2c4cf508a9b94a76ce2ca7c7317258471a41c51d
[CSM] Fix and improve minetest.get_language()

Previously this method would accidentally reset the locale
and break everything.
clientmods/preview/init.lua
doc/client_lua_api.txt
src/script/lua_api/l_client.cpp