diff --git a/src/Armory/Formats/WarMaterialAndSpecialEquipmentAssignmentFormats/Application/Generate/WarMaterialAndSpecialEquipmentAssignmentFormatGenerator.cs b/src/Armory/Formats/WarMaterialAndSpecialEquipmentAssignmentFormats/Application/Generate/WarMaterialAndSpecialEquipmentAssignmentFormatGenerator.cs index d3ac9c79..2e955c9d 100644 --- a/src/Armory/Formats/WarMaterialAndSpecialEquipmentAssignmentFormats/Application/Generate/WarMaterialAndSpecialEquipmentAssignmentFormatGenerator.cs +++ b/src/Armory/Formats/WarMaterialAndSpecialEquipmentAssignmentFormats/Application/Generate/WarMaterialAndSpecialEquipmentAssignmentFormatGenerator.cs @@ -126,7 +126,7 @@ private int MakeWeaponsAndAmmunitionInfo(IXLWorksheet worksheet, for (var i = 0; i < format.Ammunition.Count; i++) { - var ammunition = format.Weapons.ElementAt(i); + var ammunition = format.Ammunition.ElementAt(i); var formatAmmunition = format.WarMaterialAndSpecialEquipmentAssignmentFormatAmmunition.First(x => x.AmmunitionCode == ammunition.Code);