fix timer
This commit is contained in:
parent
d11c6e5b29
commit
9fa0b42239
@ -47,6 +47,8 @@ public class Controller {
|
|||||||
|
|
||||||
|
|
||||||
private void reinitialize() {
|
private void reinitialize() {
|
||||||
|
timer.cancel();
|
||||||
|
isFirstLoad = true;
|
||||||
timer = new Timer();
|
timer = new Timer();
|
||||||
URL blank = getClass().getResource("img/blank.png");
|
URL blank = getClass().getResource("img/blank.png");
|
||||||
for (Node n : grid.getChildren()) {
|
for (Node n : grid.getChildren()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user