From e3de4d59c7f197bc2a864fcc96d6cabf4ff8c4ce Mon Sep 17 00:00:00 2001 From: Timothy Stiles Date: Wed, 14 Oct 2020 22:34:00 +1100 Subject: [PATCH] spaceify --- js/game.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();