2048.html
changeset 166 cde69b258e85
parent 164 cdde49008500
parent 165 4579c59e7e6b
child 169 5a17638f0dca
equal deleted inserted replaced
164:cdde49008500 166:cde69b258e85
  1055           ui.board.turn = JSON.parse(localStorage.savedTurn);
  1055           ui.board.turn = JSON.parse(localStorage.savedTurn);
  1056         else
  1056         else
  1057           ui.board.turn = 0;
  1057           ui.board.turn = 0;
  1058         ui.board.update(ui.board.position);
  1058         ui.board.update(ui.board.position);
  1059         ui.score.update(ui.board.position, ui.board.turn);
  1059         ui.score.update(ui.board.position, ui.board.turn);
       
  1060         ui.game.checkGameOver();
  1060       } catch (ex) { }
  1061       } catch (ex) { }
  1061     } else {
  1062     } else {
  1062       ui.action.start();
  1063       ui.action.start();
  1063     }
  1064     }
  1064 
  1065