2048.html
changeset 165 4579c59e7e6b
parent 159 2709c9ff04f0
child 166 cde69b258e85
child 167 ae123e309e31
equal deleted inserted replaced
159:2709c9ff04f0 165:4579c59e7e6b
  1032           ui.board.turn = JSON.parse(localStorage.savedTurn);
  1032           ui.board.turn = JSON.parse(localStorage.savedTurn);
  1033         else
  1033         else
  1034           ui.board.turn = 0;
  1034           ui.board.turn = 0;
  1035         ui.board.update(ui.board.position);
  1035         ui.board.update(ui.board.position);
  1036         ui.score.update(ui.board.position, ui.board.turn);
  1036         ui.score.update(ui.board.position, ui.board.turn);
       
  1037         ui.game.checkGameOver();
  1037       } catch (ex) { }
  1038       } catch (ex) { }
  1038     } else {
  1039     } else {
  1039       ui.action.start();
  1040       ui.action.start();
  1040     }
  1041     }
  1041 
  1042