1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-03-02 03:39:21 +00:00

Add multiplace setting

This commit is contained in:
tobspr
2020-05-23 10:57:02 +02:00
parent 714332a91d
commit 1561246dc4
4 changed files with 24 additions and 9 deletions

View File

@@ -468,7 +468,11 @@ export class HUDBuildingPlacer extends BaseHUDPart {
this.currentBaseRotation = (180 + this.currentBaseRotation) % 360;
}
if (!metaBuilding.getStayInPlacementMode() && !this.root.app.inputMgr.shiftIsDown) {
if (
!metaBuilding.getStayInPlacementMode() &&
!this.root.app.inputMgr.shiftIsDown &&
!this.root.app.settings.getAllSettings().alwaysMultiplace
) {
// Stop placement
this.currentMetaBuilding.set(null);
}