Fix crash with Future Sight after catch
parent
4d8663d274
commit
8c6f77f4c0
|
@ -2021,7 +2021,7 @@ export class MoveEffectPhase extends PokemonPhase {
|
|||
const user = this.getUserPokemon();
|
||||
const targets = this.getTargets();
|
||||
|
||||
if (!user)
|
||||
if (!user || !user.scene)
|
||||
return this.end();
|
||||
|
||||
const overridden = new Utils.BooleanHolder(false);
|
||||
|
|
Loading…
Reference in New Issue