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:
commit
136d4fe655
@ -56,6 +56,11 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
resetGame: function () {
|
resetGame: function () {
|
||||||
|
if (Core.guessMarker) {
|
||||||
|
Core.guessMarker.setMap(null);
|
||||||
|
Core.guessMarker = null;
|
||||||
|
}
|
||||||
|
|
||||||
for (var i = 0; i < Core.rounds.length; ++i) {
|
for (var i = 0; i < Core.rounds.length; ++i) {
|
||||||
var round = Core.rounds[i];
|
var round = Core.rounds[i];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user