mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-13 13:04:03 +00:00
fix windmill shape generation
Signed-off-by: noctilucentgames <noctilucentgames@gmail.com>
This commit is contained in:
parent
0146aa91bb
commit
b855613fcf
@ -224,9 +224,9 @@ export class MapChunk {
|
|||||||
++windmillCount;
|
++windmillCount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (windmillCount > 1) {
|
if (windmillCount > 2) {
|
||||||
subShapes[0] = enumSubShape.rect;
|
this.internalGenerateShapePatch(rng, shapePatchSize, distanceToOriginInChunks);
|
||||||
subShapes[1] = enumSubShape.rect;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const definition = this.root.shapeDefinitionMgr.getDefinitionFromSimpleShapes(subShapes);
|
const definition = this.root.shapeDefinitionMgr.getDefinitionFromSimpleShapes(subShapes);
|
||||||
|
Loading…
Reference in New Issue
Block a user