mirror of
https://github.com/tobspr/shapez.io.git
synced 2024-10-27 20:34:29 +00:00
Fix crash
This commit is contained in:
parent
bbd50fdce9
commit
736e5fb432
@ -162,6 +162,7 @@ export class HUDBuildingPlacer extends BaseHUDPart {
|
|||||||
|
|
||||||
// Check for direction lock
|
// Check for direction lock
|
||||||
if (
|
if (
|
||||||
|
metaBuilding &&
|
||||||
metaBuilding.getHasDirectionLockAvailable() &&
|
metaBuilding.getHasDirectionLockAvailable() &&
|
||||||
this.root.keyMapper.getBinding(KEYMAPPINGS.placement.lockBeltDirection).isCurrentlyPressed()
|
this.root.keyMapper.getBinding(KEYMAPPINGS.placement.lockBeltDirection).isCurrentlyPressed()
|
||||||
) {
|
) {
|
||||||
|
Loading…
Reference in New Issue
Block a user