diff --git a/Scripts/MagazinePatcher.cs b/Scripts/MagazinePatcher.cs index c02ad3b..a5c7635 100644 --- a/Scripts/MagazinePatcher.cs +++ b/Scripts/MagazinePatcher.cs @@ -593,7 +593,12 @@ private static void ApplyMagazineCache(CompatibleMagazineCache magazineCache) { FVRObject firearm = IM.OD[entry.FirearmID]; - firearm.MagazineType = entry.MagType; + //Note, only apply magazine type if magazines exist for gun, because of some assumptions made by game code + if (IM.CompatMags.ContainsKey(entry.MagType)) + { + firearm.MagazineType = entry.MagType; + } + firearm.RoundType = entry.BulletType; firearm.ClipType = entry.ClipType;