diff options
-rw-r--r-- | init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -13,7 +13,7 @@ local MP = minetest.get_modpath("intllib") dofile(MP.."/lib.lua") -local LANG = minetest.setting_get("language") +local LANG = minetest.settings:get("language") if not (LANG and (LANG ~= "")) then LANG = os.getenv("LANG") end if not (LANG and (LANG ~= "")) then LANG = "en" end @@ -106,7 +106,7 @@ function intllib.get_detected_languages() local v - v = minetest.setting_get("language") + v = minetest.settings:get("language") if v and v~="" then addlang(v) end |