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