From 1c51b351122be5d769d6d1c2dbdb73bd88b4ef1a Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sat, 13 Apr 2019 18:58:40 +0200 Subject: [PATCH] options: set default language as current language --- gamecore/options.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamecore/options.lua b/gamecore/options.lua index bdd92d1..0db97b6 100644 --- a/gamecore/options.lua +++ b/gamecore/options.lua @@ -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