src/core: another fix for langs

This commit is contained in:
Kazhnuz 2019-01-28 08:01:15 +01:00
parent 9101a5ce4f
commit a822f0c2a3

View file

@ -40,6 +40,7 @@ function LanguageManager:getLangName(lang)
end end
function LanguageManager:getCurrentLangName() function LanguageManager:getCurrentLangName()
local langnames = langs.available_langs
return langnames[self.lang] return langnames[self.lang]
end end