Fix placement mode staying active

pull/260/head
tobspr 4 years ago
parent 0b95f3b208
commit cd0b43d4ff

@ -184,6 +184,13 @@ export class HUDBuildingPlacerLogic extends BaseHUDPart {
if (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);
}
}
}
/**

Loading…
Cancel
Save