mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-24 08:19:33 +02:00
fix lapse call in battle-end-phase
This commit is contained in:
parent
215dfca81e
commit
63f762c42a
@ -57,7 +57,7 @@ export class BattleEndPhase extends BattlePhase {
|
|||||||
if (m instanceof LapsingPokemonHeldItemModifier) {
|
if (m instanceof LapsingPokemonHeldItemModifier) {
|
||||||
args.push(this.scene.getPokemonById(m.pokemonId));
|
args.push(this.scene.getPokemonById(m.pokemonId));
|
||||||
}
|
}
|
||||||
if (!m.lapse(args)) {
|
if (!m.lapse(...args)) {
|
||||||
this.scene.removeModifier(m);
|
this.scene.removeModifier(m);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user