Verified Commit 03250403 authored by Repooc's avatar Repooc

minor clean up

parent 2aad558d
......@@ -89,8 +89,8 @@ function SLE:Initialize()
if SLE:CheckIncompatible() then return end
SLE:DatabaseConversions()
SLE:ConfigCats()
self.initialized = true
self:InitializeModules(); --Load Modules
SLE.initialized = true
SLE:InitializeModules()
hooksecurefunc(E, "UpdateAll", SLE.UpdateAll)
hooksecurefunc(E, "UpdateMedia", SLE.UpdateMedia)
......@@ -113,7 +113,7 @@ function SLE:Initialize()
if E.private.sle.install_complete == "BETA" then E.private.sle.install_complete = nil end
if not E.private.sle.install_complete or (tonumber(E.private.sle.install_complete) < 3) then
E:GetModule("PluginInstaller"):Queue(SLE.installTable)
E:GetModule('PluginInstaller'):Queue(SLE.installTable)
end
if not E.private.sle.characterGoldsSorting[E.myrealm] then E.private.sle.characterGoldsSorting[E.myrealm] = {} end
......
......@@ -69,6 +69,7 @@ local function configTable()
if EnchantStringName ~= '' and not SLE_ArmoryDB.EnchantString[EnchantStringName] then
SLE_ArmoryDB.EnchantString[EnchantStringName] = {}
SelectedEnchantString = EnchantStringName
E.Options.args.sle.args.modules.args.armory.args.enchantString.args.ConfigSpace.args.StringGroup.name = L["List of Strings"]..': '..SelectedEnchantString
EnchantStringName = ''
end
end,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment