@ -85,7 +85,7 @@ public class Cell extends JButton {
}
public void flood() {
if (type == CellType.Bomb) {
if (type == CellType.Bomb || flagged) {
return;
@ -25,7 +25,4 @@ public class MinesweeperGame extends JPanel {
f.setLayout(null);
f.setVisible(true);