parent
4f1261b14b
commit
6a003c0dd7
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "minesweeper",
|
||||
"version": "0.82.2",
|
||||
"version": "0.82.3",
|
||||
"description": "Just Minesweeper!",
|
||||
"author": "Felix W. Dekker",
|
||||
"browser": "dist/bundle.js",
|
||||
|
|
|
@ -324,7 +324,7 @@ export class Field {
|
|||
));
|
||||
|
||||
if (next.hasMine) break;
|
||||
if (next.getNeighborCount(it => it.hasMine || it.hasFlag || it.hasMark) === 0)
|
||||
if (next.getNeighborCount(it => it.hasMine) === 0)
|
||||
uncoverQueue.push(...next.neighbors.filter(it => it.isCovered));
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue