Locale instead of self?
This commit is contained in:
parent
60c7c2c60b
commit
81e2a7cad7
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ function Locale:get(cat, k, lang)
|
|||
|
||||
local v = (self[lang] or {})[cat]
|
||||
if not v then
|
||||
return self[Locale.main][cat][k]
|
||||
return self[self.main][cat][k]
|
||||
else return v[k] end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue