mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-02-17 01:37:36 +00:00
Fix crash with Future Sight after catch
This commit is contained in:
parent
4d8663d274
commit
8c6f77f4c0
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user