mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-07 18:14:01 +00:00
fix pippete throws on empty hand (#512)
This commit is contained in:
parent
baf5c83b34
commit
235c380de1
@ -344,6 +344,7 @@ export class HUDBuildingPlacerLogic extends BaseHUDPart {
|
|||||||
|
|
||||||
// If the building we are picking is the same as the one we have, clear the cursor.
|
// If the building we are picking is the same as the one we have, clear the cursor.
|
||||||
if (
|
if (
|
||||||
|
this.currentMetaBuilding.get() &&
|
||||||
extracted.metaInstance.getId() === this.currentMetaBuilding.get().getId() &&
|
extracted.metaInstance.getId() === this.currentMetaBuilding.get().getId() &&
|
||||||
extracted.variant === this.currentVariant.get()
|
extracted.variant === this.currentVariant.get()
|
||||||
) {
|
) {
|
||||||
|
Loading…
Reference in New Issue
Block a user