MAPG-71 remove guessMarker from map when resetting the game
This commit is contained in:
parent
a27aece4fa
commit
5ff42b0849
@ -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