mirror of
https://github.com/tobspr/shapez.io.git
synced 2024-10-27 20:34:29 +00:00
Extend the pipette hack to work with belts and wires.
This commit is contained in:
parent
c111d88dc9
commit
ae5c33abd2
@ -416,6 +416,14 @@ export class HUDBuildingPlacerLogic extends BaseHUDPart {
|
|||||||
) {
|
) {
|
||||||
continue checkVariant;
|
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 });
|
matches.push({ metaBuilding, variant });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user