Merged in bugfix/MAPG-71-guess-button-stays-disabled (pull request #59)

MAPG-71 remove guessMarker from map when resetting the game
This commit is contained in:
Bence Pőcze 2020-05-30 16:06:00 +00:00
commit 136d4fe655

View File

@ -56,6 +56,11 @@
},
resetGame: function () {
if (Core.guessMarker) {
Core.guessMarker.setMap(null);
Core.guessMarker = null;
}
for (var i = 0; i < Core.rounds.length; ++i) {
var round = Core.rounds[i];