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