mirror of
https://github.com/danbulant/heaventaker
synced 2026-07-08 20:50:54 +00:00
fix: moving lyres didn't cost steps
This commit is contained in:
parent
a7e190812e
commit
44886542ae
1 changed files with 1 additions and 0 deletions
|
|
@ -412,6 +412,7 @@ export class GameScene extends Phaser.Scene {
|
||||||
this.createMap();
|
this.createMap();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
steps.update(t => --t);t
|
||||||
this.canMove = false;
|
this.canMove = false;
|
||||||
this.move(toX, toY, toX + moveX, toY + moveY, () => {
|
this.move(toX, toY, toX + moveX, toY + moveY, () => {
|
||||||
this.canMove = true;
|
this.canMove = true;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue