diff --git a/js/game.js b/js/game.js index 1959541..778896c 100644 --- a/js/game.js +++ b/js/game.js @@ -979,13 +979,13 @@ export class Level { } undo() { - //reverse the pending_undo too + //reverse the pending_undo too this.pending_undo.reverse(); for (let undo of this.pending_undo) { undo(); } this.pending_undo = []; - + this.aid = Math.max(1, this.aid); let entry = this.undo_stack.pop();