Skip to content

Commit

Permalink
arty on maps without other hazards
Browse files Browse the repository at this point in the history
  • Loading branch information
Razzmatazzz committed Sep 26, 2024
1 parent 4de5d45 commit 77e4b69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/map/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 77e4b69

Please sign in to comment.