2048.html
changeset 137 be8ee2240a17
parent 134 5b772474bf17
child 138 23cd36180bf9
--- a/2048.html	Wed Sep 24 23:21:30 2014 +0300
+++ b/2048.html	Thu Sep 25 00:54:13 2014 +0300
@@ -664,7 +664,7 @@
       }
       var tsTo = new Date().getTime();
       ui.board.turn += step;
-      ui.game.finishStep();
+      ui.game.refresh();
       ui.score.speed(parseFloat((step*1000.0/(tsTo-tsFrom)).toPrecision(3)));
       ui.game.setMessage("Game over!");
       ui.ai.current.cleanup();