From d5059e8e23968028fa947ccf4dffd8a8baff6b29 Mon Sep 17 00:00:00 2001 From: elexis Date: Fri, 18 Mar 2016 17:54:22 +0000 Subject: [PATCH] Don't use that variable outside of scope. This was SVN commit r17913. --- binaries/data/mods/public/maps/random/island_stronghold.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/binaries/data/mods/public/maps/random/island_stronghold.js b/binaries/data/mods/public/maps/random/island_stronghold.js index 471feb7f2c..9e80dd488a 100644 --- a/binaries/data/mods/public/maps/random/island_stronghold.js +++ b/binaries/data/mods/public/maps/random/island_stronghold.js @@ -234,7 +234,7 @@ for (let i = 0; i < teams.length; ++i) let bbDist = 10; let bbX = round(fx + bbDist * cos(bbAngle)); let bbZ = round(fz + bbDist * sin(bbAngle)); - group = new SimpleGroup( + let group = new SimpleGroup( [new SimpleObject(oFruitBush, 5, 5, 0, 3)], true, clBaseResource, bbX, bbZ );