Merge pull request #444 from Flamanis/NoSave-SwitchCombatEnd
Don't save a SwitchBack table when leaving combat
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user