options: set default language as current language

This commit is contained in:
Kazhnuz 2019-04-13 18:58:40 +02:00
parent fb29ae65b3
commit 1c51b35112

View file

@ -113,7 +113,7 @@ function OptionsManager:getTranslationDefaultData()
if fileinfo ~= nil then
lang = require(TRANSLATION_PATH)
lang.current = self.default
lang.current = lang.default or "en"
lang.path = TRANSLATION_PATH
end