From 10d239bfb4f626358f0aadf0639d985e9b686940 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Wed, 17 Mar 2021 22:54:06 +0100 Subject: [PATCH] MAPG-203 this.response.newPlace -> this.response.place --- public/static/js/game.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.45.2