From 77e4b699ee7339740486a7e4e58916e301836bcd Mon Sep 17 00:00:00 2001 From: Razzmatazz Date: Thu, 26 Sep 2024 11:04:43 -0500 Subject: [PATCH] arty on maps without other hazards --- src/pages/map/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/map/index.js b/src/pages/map/index.js index 6970c7c1..d53aaca6 100644 --- a/src/pages/map/index.js +++ b/src/pages/map/index.js @@ -1312,7 +1312,7 @@ function Map() { } //add hazards - if (mapData.hazards.length > 0) { + if (mapData.hazards.length > 0 || mapData.artillery?.zones?.length) { const hazardLayers = {}; const hazardNames = {}; for (const hazard of mapData.hazards) {