From c39177d13e8cccd688c6c71ab1a2fc01ec82fb52 Mon Sep 17 00:00:00 2001 From: Wlowscha <54003515+Wlowscha@users.noreply.github.com> Date: Thu, 20 Feb 2025 09:20:17 +0100 Subject: [PATCH] Since the call is at the end, no need to preserve data --- src/phases/switch-summon-phase.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/phases/switch-summon-phase.ts b/src/phases/switch-summon-phase.ts index 3f7b30811d6..e6af2c23ad1 100644 --- a/src/phases/switch-summon-phase.ts +++ b/src/phases/switch-summon-phase.ts @@ -146,7 +146,7 @@ export class SwitchSummonPhase extends SummonPhase { } else { switchedInPokemon.resetSummonData(); } - this.lastPokemon.leaveField(true, false); + this.lastPokemon.leaveField(); this.summon(); }; if (this.player) {