Quantcast

Atlasloot v8

Darthpred [12-10-14 - 06:44]
Atlasloot v8
Filename
ElvUI_SLE/modules/uibuttons.lua
diff --git a/ElvUI_SLE/modules/uibuttons.lua b/ElvUI_SLE/modules/uibuttons.lua
index bde5aaa..165a1c6 100644
--- a/ElvUI_SLE/modules/uibuttons.lua
+++ b/ElvUI_SLE/modules/uibuttons.lua
@@ -387,11 +387,11 @@ function UB:AddonSetup()
 		UB.menuHolder.Addon.AtlasLoot.text:SetPoint("CENTER", UB.menuHolder.Addon.AtlasLoot, "CENTER")
 		UB.menuHolder.Addon.AtlasLoot.text:SetText("AtlasLoot")
 		UB.menuHolder.Addon.AtlasLoot:SetScript("OnClick", function(self)
-			AtlasLoot:SlashCommand("/al")
+			AtlasLoot.GUI:Toggle()
 			button.opened = false
 			UB:ToggleCats()
 		end)
-		if IsAddOnLoaded("AtlasLoot_Loader") then
+		if IsAddOnLoaded("AtlasLoot") then
 			UB.menuHolder.Addon.AtlasLoot.shown = true
 		else
 			UB.menuHolder.Addon.AtlasLoot.shown = false