From 4733c225e2438fac0b351e7d3248c61f5cde7592 Mon Sep 17 00:00:00 2001 From: Platinum Date: Mon, 12 Jun 2023 07:53:30 +1000 Subject: [PATCH] fix: include saiga 10rnd --- config.json | 2 +- src/mod.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config.json b/config.json index 2dbe420..b84b88e 100644 --- a/config.json +++ b/config.json @@ -1,4 +1,4 @@ { - "minMagazineCapacityToBeIncluded": 40, + "minMagazineCapacityToBeIncluded": 10, "maxMagazineCapacityToBeIncluded": 50 } \ No newline at end of file diff --git a/src/mod.ts b/src/mod.ts index 0214c78..094ec80 100644 --- a/src/mod.ts +++ b/src/mod.ts @@ -67,6 +67,7 @@ class TwoSlotExtendedMags implements IPostDBLoadMod { return item._parent == magazineCategoryId && item._props.Width == 1 && // We don't want to make horizontal mags like P90's to be 4 squares wide or change drum mags (for now) + item._props.Height > 2 && this.isWithinMagazineSizeCapacity(item._props); }