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;
|
||||
}
|
||||
}
|
||||
if (windmillCount > 1) {
|
||||
subShapes[0] = enumSubShape.rect;
|
||||
subShapes[1] = enumSubShape.rect;
|
||||
if (windmillCount > 2) {
|
||||
this.internalGenerateShapePatch(rng, shapePatchSize, distanceToOriginInChunks);
|
||||
return;
|
||||
}
|
||||
|
||||
const definition = this.root.shapeDefinitionMgr.getDefinitionFromSimpleShapes(subShapes);
|
||||
|
Loading…
Reference in New Issue
Block a user