mirror of
https://github.com/tobspr-games/shapez.io.git
synced 2026-01-14 21:31:04 -08: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:
commit
b01e7c61d7
1 changed files with 8 additions and 0 deletions
|
|
@ -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 });
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue