diff --git a/js/game.js b/js/game.js index 9f82422..3697033 100644 --- a/js/game.js +++ b/js/game.js @@ -832,9 +832,9 @@ export class Level { if (actor.cell === goal_cell) return; - this._set_prop(actor, 'previous_cell', actor.cell); - this._set_prop(actor, 'animation_speed', speed); - this._set_prop(actor, 'animation_progress', 0); + this._set_prop(actor, 'previous_cell', actor.cell); + this._set_prop(actor, 'animation_speed', speed); + this._set_prop(actor, 'animation_progress', 0); let original_cell = actor.cell; this.remove_tile(actor);