From 74e6808fcb40e86f0a31f80d226631da15aa55b5 Mon Sep 17 00:00:00 2001 From: James Wilkinson Date: Sun, 6 Dec 2015 14:15:35 +1100 Subject: [PATCH] Fix missing pairs() table --- mods/base/req/localization.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/base/req/localization.lua b/mods/base/req/localization.lua index 67ec7b9..f186035 100644 --- a/mods/base/req/localization.lua +++ b/mods/base/req/localization.lua @@ -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