No numbers on clicked mines
This commit is contained in:
parent
551499749d
commit
2eeef1579b
|
@ -275,7 +275,7 @@
|
||||||
$(this).getGameboardPos().revealed = true;
|
$(this).getGameboardPos().revealed = true;
|
||||||
$(this).addClass("revealed");
|
$(this).addClass("revealed");
|
||||||
|
|
||||||
if ($(this).getGameboardPos().mine == true) {
|
if ($(this).getGameboardPos().mine) {
|
||||||
//game over, or lose a life, or whatever
|
//game over, or lose a life, or whatever
|
||||||
$(this).addClass("mine");
|
$(this).addClass("mine");
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue