Fix crash with Future Sight after catch
This commit is contained in:
1 parent
4d8663d274
commit
8c6f77f4c0
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user