diff --git a/src/game/gameScene.js b/src/game/gameScene.js index aad477f..318a96c 100644 --- a/src/game/gameScene.js +++ b/src/game/gameScene.js @@ -438,7 +438,7 @@ export class GameScene extends Phaser.Scene { this.canMove = true; this.player.x = toX; this.player.y = toY; - if(!fromWind && !this.winds[toX] && !this.winds[toX][toY]) this.checkAngel(); + if(!fromWind && (!this.winds[toX] || !this.winds[toX][toY])) this.checkAngel(); }); }