Don't save a SwiitchBack table when leaving combat

This commit is contained in:
Flamanis
2023-01-28 03:21:43 -06:00
parent 0efe411aa2
commit 47ca70bbb6
+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