From 2a15503d9d59920435e8709f6b911d03fed9713f Mon Sep 17 00:00:00 2001 From: Lajos Meszaros Date: Sun, 27 Feb 2022 13:29:09 +0100 Subject: [PATCH] Small typo with const/let --- src/helpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers.js b/src/helpers.js index 983ad0c1..991dcc9e 100644 --- a/src/helpers.js +++ b/src/helpers.js @@ -125,7 +125,7 @@ const generateLights = (mapData) => { for (let x = 0; x < MAP_MAX_WIDTH; x++) { (p[`${z}-${x}`] || []).forEach((idx) => { const { config, vertices } = mapData.fts.polygons[idx]; - const { color, isQuad } = config; + let { color, isQuad } = config; if (color === null) { color = white;