1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-03-02 03:39:21 +00:00

Merge pull request #470 from Moppler/bug/pipette-belts-wires

Extend the pipette hack to work with belts and wires.
This commit is contained in:
tobspr
2020-07-21 09:24:08 +02:00
committed by GitHub

View File

@@ -416,6 +416,14 @@ export class HUDBuildingPlacerLogic extends BaseHUDPart {
) {
continue checkVariant;
}
if (metaBuilding.id === "wire" && entity.layer !== enumLayer.wires) {
continue checkVariant;
}
if (metaBuilding.id === "belt" && entity.layer !== enumLayer.regular) {
continue checkVariant;
}
matches.push({ metaBuilding, variant });
}
}