1
0
Fork 0

Actually fix WaveformColapse builder

This commit is contained in:
Timothy Warren 2022-01-28 14:05:32 -05:00
parent 6d57020327
commit 04db51ca03
1 changed files with 6 additions and 2 deletions

View File

@ -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;