From 0325040362623b6fd7d07ae521d3212fc35fbdc6 Mon Sep 17 00:00:00 2001 From: Repooc Date: Sun, 10 Jan 2021 19:38:20 -0500 Subject: [PATCH] minor clean up --- ElvUI_SLE/core/core.lua | 8 ++++---- ElvUI_SLE/options/armory/enchant_c.lua | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ElvUI_SLE/core/core.lua b/ElvUI_SLE/core/core.lua index 1c345d90..94d7b645 100644 --- a/ElvUI_SLE/core/core.lua +++ b/ElvUI_SLE/core/core.lua @@ -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,11 +113,11 @@ 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 EP:RegisterPlugin(AddOnName, GetOptions) --Registering as plugin end -E.Libs.EP:HookInitialize(SLE, SLE.Initialize) \ No newline at end of file +E.Libs.EP:HookInitialize(SLE, SLE.Initialize) diff --git a/ElvUI_SLE/options/armory/enchant_c.lua b/ElvUI_SLE/options/armory/enchant_c.lua index b6da37b5..a4cd9ef2 100644 --- a/ElvUI_SLE/options/armory/enchant_c.lua +++ b/ElvUI_SLE/options/armory/enchant_c.lua @@ -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, -- GitLab