mirror of
https://github.com/tobspr/shapez.io.git
synced 2024-10-27 20:34:29 +00:00
Fix pipetting belts
This commit is contained in:
parent
ba52edf7a4
commit
5b2df00cc7
@ -76,7 +76,7 @@ export class HUDBlueprintPlacer extends BaseHUDPart {
|
|||||||
const contents = this.root.map.getTileContent(tile);
|
const contents = this.root.map.getTileContent(tile);
|
||||||
|
|
||||||
// Make sure we selected something, and also make sure it's not a special entity
|
// Make sure we selected something, and also make sure it's not a special entity
|
||||||
if (contents && !contents.components.Unremovable) {
|
if (contents && !contents.components.Unremovable && !contents.components.Belt) {
|
||||||
const blueprint = PipetteBlueprint.fromEntity(contents);
|
const blueprint = PipetteBlueprint.fromEntity(contents);
|
||||||
|
|
||||||
// Notice: Order here matters, since pipetteExecuted clears the blueprint
|
// Notice: Order here matters, since pipetteExecuted clears the blueprint
|
||||||
|
Loading…
Reference in New Issue
Block a user