mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-25 09:42:20 +02:00
Ensure that leaveField() is called on recall
This commit is contained in:
parent
f2d7bcb29f
commit
7b479d06f7
@ -9,6 +9,8 @@ export class ReturnPhase extends SwitchSummonPhase {
|
||||
}
|
||||
|
||||
switchAndSummon(): void {
|
||||
const pokemon = this.getPokemon();
|
||||
pokemon.leaveField();
|
||||
this.end();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user