diff --git a/src/experimental/_impl/_mz_blocks_impl.scad b/src/experimental/_impl/_mz_blocks_impl.scad index e7cdc005..1d0dbbea 100644 --- a/src/experimental/_impl/_mz_blocks_impl.scad +++ b/src/experimental/_impl/_mz_blocks_impl.scad @@ -159,7 +159,7 @@ function go_maze(x, y, maze, rows, columns, x_circular = false, y_circular = fal set_visited(x, y, maze) // road closed : walk_around_from( x, y, - rand_dirs(x + y + seed), + rand_dirs(x * rows + y + seed), set_visited(x, y, maze), rows, columns, x_circular, y_circular,