mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-02-28 02:39:20 +00:00
Require LMB to place blueprints
This commit is contained in:
parent
d33a72202a
commit
95a25f3f22
@ -110,6 +110,7 @@ export class HUDBlueprintPlacer extends BaseHUDPart {
|
||||
}
|
||||
}
|
||||
|
||||
if (button === enumMouseButton.left) {
|
||||
const blueprint = this.currentBlueprint.get();
|
||||
if (!blueprint) {
|
||||
return;
|
||||
@ -128,6 +129,7 @@ export class HUDBlueprintPlacer extends BaseHUDPart {
|
||||
this.root.soundProxy.playUi(SOUNDS.placeBuilding);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Mose move handler
|
||||
|
||||
Loading…
Reference in New Issue
Block a user