Start thinking on room.js: TODO, implement and test challenge / new game HH / abort...
[vchess.git] / public / javascripts / utils / storage.js
index 9217c13..8008777 100644 (file)
@@ -40,6 +40,7 @@ function getGameFromStorage(gameId)
                // Retrieve running game from localStorage
                game.score = localStorage.getItem("score");
                game.oppid = localStorage.getItem("oppid");
+               game.oppname = localStorage.getItem("oppname");
                game.mycolor = localStorage.getItem("mycolor");
                game.fenStart = localStorage.getItem("fenStart");
                game.moves = localStorage.getItem("moves");