Merge pull request #444 from Flamanis/NoSave-SwitchCombatEnd

Don't save a SwitchBack table when leaving combat
This commit is contained in:
Tercio Jose
2023-02-03 15:25:13 -03:00
committed by GitHub
+2 -2
View File
@@ -1705,11 +1705,11 @@ function _detalhes:CheckSwitchOnCombatEnd (nowipe, warning)
local got_switch = false
if (role == "DAMAGER" and self.switch_damager) then
self:SwitchTo (self.switch_damager)
self:SwitchTo (self.switch_damager, true)
got_switch = true
elseif (role == "HEALER" and self.switch_healer) then
self:SwitchTo (self.switch_healer)
self:SwitchTo (self.switch_healer, true)
got_switch = true
elseif (role == "TANK" and self.switch_tank) then