1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2024-10-27 20:34:29 +00:00

Fix placement mode staying active

This commit is contained in:
tobspr 2020-06-22 15:34:36 +02:00
parent 0b95f3b208
commit cd0b43d4ff

View File

@ -184,6 +184,13 @@ export class HUDBuildingPlacerLogic extends BaseHUDPart {
if (mousePos) { if (mousePos) {
this.onMouseMove(mousePos); this.onMouseMove(mousePos);
} }
// Make sure we have nothing selected while in overview mode
if (this.root.camera.getIsMapOverlayActive()) {
if (this.currentMetaBuilding.get()) {
this.currentMetaBuilding.set(null);
}
}
} }
/** /**