diff --git a/index.html b/index.html
index 85e2fca..dbf018b 100644
--- a/index.html
+++ b/index.html
@@ -41,6 +41,8 @@
}
function rerun(){
+ if (!document.getElementById("reuseMaze").checked)
+ createNewMaze(document.getElementById("cellWidthInput").value);
algo = {};
maze.resetMazeState();
maze.updateMazeDisplay();
@@ -65,7 +67,7 @@
-
+