src/core: remove unused var in lang
This commit is contained in:
parent
bb752e6b3f
commit
9101a5ce4f
1 changed files with 2 additions and 6 deletions
|
@ -46,10 +46,6 @@ end
|
|||
function LanguageManager:setLang(lang)
|
||||
self.controller.options.data.language = lang
|
||||
self.lang = self.controller.options.data.language
|
||||
self.langfiles = langs.files
|
||||
self.currentLang = self.langfiles[self.lang]
|
||||
self.data = require(self.currentLang)
|
||||
self.fallback = require(self.langfiles["en"])
|
||||
end
|
||||
|
||||
return LanguageManager
|
||||
|
|
Loading…
Reference in a new issue