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