diff --git a/hv7vehw7se.js b/hv7vehw7se.js index 154a9cb..9942ebd 100644 --- a/hv7vehw7se.js +++ b/hv7vehw7se.js @@ -1435,20 +1435,20 @@ for (var x = -50; x < 50; x += 20) { for (var z = -170; z > -230; z -= 10) { - type++; + type += 1; - if (type === 1) { + if (type == 1) { mesh = treeSmall.clone(); mesh.position.y = -14.19; } - if (type === 2) { + if (type == 2) { mesh = treeMedium.clone(); mesh.position.y = -10.26; } - if (type === 3) { + if (type == 3) { mesh = treeLarge.clone(); mesh.position.y = -4.43; - type = 1; + type = 0; } mesh.materials = [materialTreesAndRocks];