Fix crash with Future Sight after catch

pull/16/head
Flashfyre 2024-03-08 15:52:33 -05:00
parent 4d8663d274
commit 8c6f77f4c0
1 changed files with 1 additions and 1 deletions

View File

@ -2021,7 +2021,7 @@ export class MoveEffectPhase extends PokemonPhase {
const user = this.getUserPokemon(); const user = this.getUserPokemon();
const targets = this.getTargets(); const targets = this.getTargets();
if (!user) if (!user || !user.scene)
return this.end(); return this.end();
const overridden = new Utils.BooleanHolder(false); const overridden = new Utils.BooleanHolder(false);