mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-03-02 03:39:21 +00:00
Fix placement mode staying active
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user