From b452f832544ffd38ce6892b812be39ace8b035a3 Mon Sep 17 00:00:00 2001 From: gallantron Date: Fri, 8 Apr 2022 22:01:01 +0200 Subject: [PATCH] fix an edge case bug in maintank handling --- PallyPower.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PallyPower.lua b/PallyPower.lua index 0d7dd57..9f831ff 100644 --- a/PallyPower.lua +++ b/PallyPower.lua @@ -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 @@ -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