From 97ff91f25c599457787826df49f9e8382f03178a Mon Sep 17 00:00:00 2001 From: Kieran Farr Date: Thu, 3 Aug 2023 12:17:32 -0400 Subject: [PATCH] tiny lint fix --- src/aframe-streetmix-parsers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aframe-streetmix-parsers.js b/src/aframe-streetmix-parsers.js index 269d754f6..d3dd28ba1 100644 --- a/src/aframe-streetmix-parsers.js +++ b/src/aframe-streetmix-parsers.js @@ -413,7 +413,7 @@ function createDriveLaneElement (variantList, positionX, segmentWidthInMeters, s const params = carParams[carType]; const reusableObjectEl = document.createElement('a-entity'); - + if (!positionZ) { positionZ = randomPosition(reusableObjectEl, 'z', streetLength, params['length']); }