mirror of
https://github.com/danbulant/heaventaker
synced 2026-06-20 15:11:35 +00:00
fix angel check
This commit is contained in:
parent
fc4bdf079e
commit
4641abad87
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue