mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-26 02:02:20 +02:00
Since the call is at the end, no need to preserve data
This commit is contained in:
parent
8908098f7c
commit
c39177d13e
@ -146,7 +146,7 @@ export class SwitchSummonPhase extends SummonPhase {
|
|||||||
} else {
|
} else {
|
||||||
switchedInPokemon.resetSummonData();
|
switchedInPokemon.resetSummonData();
|
||||||
}
|
}
|
||||||
this.lastPokemon.leaveField(true, false);
|
this.lastPokemon.leaveField();
|
||||||
this.summon();
|
this.summon();
|
||||||
};
|
};
|
||||||
if (this.player) {
|
if (this.player) {
|
||||||
|
Loading…
Reference in New Issue
Block a user