Skip to content

Commit

Permalink
fix an edge case bug in maintank handling
Browse files Browse the repository at this point in the history
  • Loading branch information
gallantron committed Apr 8, 2022
1 parent 930e2ce commit b452f83
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion PallyPower.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1984,6 +1984,7 @@ function PallyPower:UpdateRoster()
for i = 1, PALLYPOWER_MAXCLASSES do
classlist[i] = 0
classes[i] = {}
classmaintanks[i] = false
end
if IsInRaid() then
units = raid_units
Expand Down Expand Up @@ -2106,7 +2107,7 @@ function PallyPower:UpdateRoster()
end
end

if (raidtank == "MAINTANK" and (class == 1 or class == 4 or class == 5)) then
if raidtank == "MAINTANK" then
classmaintanks[class] = true
end
else
Expand Down

0 comments on commit b452f83

Please sign in to comment.