Browse Source

Bugfix timer reset

feature_Minesweeper_Timer
kfkama 3 years ago
parent
commit
520c5dc3a0
  1. 3
      src/main/java/Minesweeper/TimerLable.java

3
src/main/java/Minesweeper/TimerLable.java

@ -24,6 +24,9 @@ public class TimerLable extends JLabel {
public void reset() { public void reset() {
task.reset = true; task.reset = true;
counter = 0;
setText(String.valueOf(counter));
repaint();
task.stop = false; task.stop = false;
} }

Loading…
Cancel
Save