mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-07 18:14:01 +00:00
Allow deselecting with pipette
This commit is contained in:
parent
0b31ad0c7b
commit
76b619e4e7
@ -75,6 +75,8 @@ export class HUDBlueprintPlacer extends BaseHUDPart {
|
|||||||
// Notice: Order here matters, since pipetteExecuted clears the blueprint
|
// Notice: Order here matters, since pipetteExecuted clears the blueprint
|
||||||
this.root.hud.signals.pipetteExecuted.dispatch(contents);
|
this.root.hud.signals.pipetteExecuted.dispatch(contents);
|
||||||
this.currentBlueprint.set(blueprint);
|
this.currentBlueprint.set(blueprint);
|
||||||
|
} else {
|
||||||
|
this.root.hud.signals.pipetteExecuted.dispatch(null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user