Skip to content

Commit

Permalink
Small typo with const/let
Browse files Browse the repository at this point in the history
  • Loading branch information
meszaros-lajos-gyorgy committed Feb 27, 2022
1 parent f2d14c1 commit 2a15503
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2a15503

Please sign in to comment.