mirror of
https://github.com/danbulant/heaventaker
synced 2026-07-07 20:20:47 +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.canMove = true;
|
||||||
this.player.x = toX;
|
this.player.x = toX;
|
||||||
this.player.y = toY;
|
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