mirror of
https://codeberg.org/JasterV/maze-generator.js.git
synced 2026-04-27 02:25:41 +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…
Add table
Add a link
Reference in a new issue