From c252ed506eb8324fbdea4b632116c2c7d06a8c9c Mon Sep 17 00:00:00 2001 From: lisacvuk Date: Sat, 28 Oct 2017 08:56:10 +0200 Subject: CSM: Add a way to get current locale from CSM --- src/script/lua_api/l_client.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/script/lua_api/l_client.h') diff --git a/src/script/lua_api/l_client.h b/src/script/lua_api/l_client.h index 791038f7d..b0ece7205 100644 --- a/src/script/lua_api/l_client.h +++ b/src/script/lua_api/l_client.h @@ -66,6 +66,8 @@ private: // get_node(pos) static int l_get_node_or_nil(lua_State *L); + static int l_get_language(lua_State *L); + // get_wielded_item() static int l_get_wielded_item(lua_State *L); -- cgit v1.2.3