some optimizations

This commit is contained in:
JasterV 2020-04-07 03:45:59 +02:00
commit 8b8db954b8

View file

@ -44,7 +44,9 @@ function draw() {
visiteds.push(neighbour);
stack.push(neighbour);
}
}
} else
// Stop Calling draw function
noLoop();
grid.show();
}