diff --git a/src/map_builders/waveform_collapse.rs b/src/map_builders/waveform_collapse.rs index cb25e16..949829b 100644 --- a/src/map_builders/waveform_collapse.rs +++ b/src/map_builders/waveform_collapse.rs @@ -94,8 +94,12 @@ impl WaveformCollapseBuilder { if y + chunk_size > build_data.map.height { // Move to the next page build_data.take_snapshot(); - build_data.map = - Map::new(0, build_data.width, build_data.height, &build_data.map.name); + build_data.map = Map::new( + build_data.map.depth, + build_data.width, + build_data.height, + &build_data.map.name, + ); x = 1; y = 1;