Actually fix WaveformColapse builder

This commit is contained in:
Timothy Warren 2022-01-28 14:05:32 -05:00
parent 6d57020327
commit 04db51ca03

View File

@ -94,8 +94,12 @@ impl WaveformCollapseBuilder {
if y + chunk_size > build_data.map.height { if y + chunk_size > build_data.map.height {
// Move to the next page // Move to the next page
build_data.take_snapshot(); build_data.take_snapshot();
build_data.map = build_data.map = Map::new(
Map::new(0, build_data.width, build_data.height, &build_data.map.name); build_data.map.depth,
build_data.width,
build_data.height,
&build_data.map.name,
);
x = 1; x = 1;
y = 1; y = 1;