diff --git a/public/static/js/game.js b/public/static/js/game.js index f02d1f8..0cb0616 100644 --- a/public/static/js/game.js +++ b/public/static/js/game.js @@ -200,9 +200,9 @@ document.getElementById('showSummaryButton').style.display = 'block'; } - if (this.response.newPlace) { - Game.panoId = this.response.newPlace.panoId; - Game.pov = this.response.newPlace.pov; + if (this.response.place) { + Game.panoId = this.response.place.panoId; + Game.pov = this.response.place.pov; } else { Game.panoId = null; Game.pov = null;