Skip to content

Commit df7aec8

Browse files
authored
blizzard: Handle old arena frames still (#860)
Fixes #859
1 parent 89f8606 commit df7aec8

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

.luacheckrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ read_globals = {
2020
table = {fields = {'removemulti', 'wipe'}},
2121

2222
-- FrameXML
23+
'ArenaEnemyMatchFramesContainer',
2324
'BossTargetFrameContainer',
2425
'Clamp',
2526
'ColorMixin',

blizzard.lua

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,13 @@ function oUF:DisableBlizzard(unit)
159159
for _, frame in next, CompactArenaFrame.memberUnitFrames do
160160
handleFrame(frame, true)
161161
end
162+
163+
-- old arena frames, they're still used for flag carriers etc in battlegrounds
164+
handleFrame(ArenaEnemyMatchFramesContainer)
165+
166+
for _, frame in next, ArenaEnemyMatchFramesContainer.UnitFrames do
167+
handleFrame(frame, true)
168+
end
162169
end
163170
elseif(unit:match('nameplate%d?%d?%d?$')) then
164171
local frame = C_NamePlate.GetNamePlateForUnit(unit)

0 commit comments

Comments
 (0)