fix cooldowns not showing on reloadui during arena

This commit is contained in:
Sumsebrum 2022-01-12 16:11:10 +01:00
parent 61e49ffb8c
commit 978ba56f85

View File

@ -422,6 +422,7 @@ function Gladdy:PLAYER_REGEN_ENABLED()
self.startTest = nil self.startTest = nil
end end
self.frame:Show() self.frame:Show()
self:SendMessage("JOINED_ARENA")
self.showFrame = nil self.showFrame = nil
end end
if self.hideFrame then if self.hideFrame then
@ -508,13 +509,13 @@ function Gladdy:JoinedArena()
end end
end end
self:SendMessage("JOINED_ARENA")
if InCombatLockdown() then if InCombatLockdown() then
Gladdy:Print("Gladdy frames show as soon as you leave combat") Gladdy:Print("Gladdy frames show as soon as you leave combat")
self.showFrame = true self.showFrame = true
else else
self:UpdateFrame() self:UpdateFrame()
self.frame:Show() self.frame:Show()
self:SendMessage("JOINED_ARENA")
end end
for i=1, self.curBracket do for i=1, self.curBracket do
self.buttons["arena" .. i]:SetAlpha(1) self.buttons["arena" .. i]:SetAlpha(1)