Fix pipetting belts

This commit is contained in:
tobspr 2020-06-21 22:05:41 +02:00
parent ba52edf7a4
commit 5b2df00cc7
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ export class HUDBlueprintPlacer extends BaseHUDPart {
const contents = this.root.map.getTileContent(tile);
// 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);
// Notice: Order here matters, since pipetteExecuted clears the blueprint