diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2019-07-15 21:30:30 -0400 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2019-07-15 21:30:30 -0400 |
commit | a3c90a433906851daeaa625ef9442e820bd082ca (patch) | |
tree | 5459a5ab214e5a84c254cf99348582374a284adf /mines.js | |
parent | 278f2ff2d0888893b30b4179dd3400201af1fa1b (diff) |
[RC] Bugfix
+ Bugfix where when a checked mine is cleared by the internal engine the "checked mines" (checked) count does not decrease
Diffstat (limited to 'mines.js')
-rw-r--r-- | mines.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -189,6 +189,8 @@ Board.prototype = { let n = this.numAround(x, y);
let e = this.getMineEl(x, y);
+ if(e.textContent == "!") return;
+
e.className = "chkd";
if(n !== 0){
|