rremoved unnecessary comments

This commit is contained in:
IM23a-spirgif
2025-02-25 16:52:27 +01:00
parent 3b1166b7d8
commit 952b7190d2
+1 -1
View File
@@ -284,7 +284,7 @@ function applyModifiers() {
if (mod.dataset.operatives && mod.dataset.operatives.trim() !== "" && (!selectedOperative || selectedOperative.category !== mod.dataset.operatives)) { if (mod.dataset.operatives && mod.dataset.operatives.trim() !== "" && (!selectedOperative || selectedOperative.category !== mod.dataset.operatives)) {
return; // Skip if operative category doesn't match. return; // Skip if operative category doesn't match.
} }
const weaponTags = selectedWeapon.guntype; // e.g., ["PISTOL", "SHOTGUN"] const weaponTags = selectedWeapon.guntype;
const appliesNotTo = mod.dataset.appliesNotTo; const appliesNotTo = mod.dataset.appliesNotTo;
const appliesTo = mod.dataset.appliesTo; const appliesTo = mod.dataset.appliesTo;
if (appliesNotTo && weaponTags.includes(appliesNotTo)) { if (appliesNotTo && weaponTags.includes(appliesNotTo)) {