mirror of
https://codeberg.org/JasterV/maze-generator.js.git
synced 2026-04-26 18:20:04 +00:00
some optimizations
This commit is contained in:
parent
67a416980a
commit
8b8db954b8
1 changed files with 3 additions and 1 deletions
|
|
@ -44,7 +44,9 @@ function draw() {
|
|||
visiteds.push(neighbour);
|
||||
stack.push(neighbour);
|
||||
}
|
||||
}
|
||||
} else
|
||||
// Stop Calling draw function
|
||||
noLoop();
|
||||
grid.show();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue