Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

Commit

Permalink
Fix missing pairs() table
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesWilko committed Dec 6, 2015
1 parent 4bdb367 commit 74e6808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mods/base/req/localization.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ LuaModManager.Constants.default_language = "en"
LuaModManager.Constants.language_key = "language"

function LuaModManager:GetIndexOfDefaultLanguage()
for k, v in pairs() do
for k, v in pairs(LuaModManager._languages) do
if v == LuaModManager.Constants.default_language then
return k
end
Expand Down

0 comments on commit 74e6808

Please sign in to comment.