From af52ac37874959c4964cea2c915c8fc9415500a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Thu, 4 Jun 2020 00:13:32 +0200 Subject: [PATCH] MAPG-110 request the correct endpoint in case of in-place game reset --- public/static/js/game.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/static/js/game.js b/public/static/js/game.js index e302a86..789ba2c 100644 --- a/public/static/js/game.js +++ b/public/static/js/game.js @@ -135,7 +135,7 @@ Core.resetGame(); }; - xhr.open('GET', '/game/' + mapId + '/position.json', true); + xhr.open('GET', '/game/' + mapId + '/json', true); xhr.send(); },