fix: moving lyres didn't cost steps

This commit is contained in:
Daniel Bulant 2021-08-31 14:16:01 +02:00
parent a7e190812e
commit 44886542ae

View file

@ -412,6 +412,7 @@ export class GameScene extends Phaser.Scene {
this.createMap();
return;
}
steps.update(t => --t);t
this.canMove = false;
this.move(toX, toY, toX + moveX, toY + moveY, () => {
this.canMove = true;