0
0
mirror of https://github.com/sp-tarkov/modules.git synced 2025-02-13 02:50:45 -05:00

Don't add FiR to injectors in PMC pockets

This commit is contained in:
Dev 2024-02-11 11:16:44 +00:00
parent 761d6c339d
commit e5c47ab5e9

View File

@ -88,7 +88,7 @@ namespace Aki.Custom.CustomAI
} }
// Don't add FiR to grenades/mags/ammo/meds in pockets // Don't add FiR to grenades/mags/ammo/meds in pockets
if (container.Name == "Pockets" && new List<string> { throwableItemId, ammoItemId, magazineId, medicalItemId, mediKitItem }.Any(item.Template._parent.Contains)) if (container.Name == "Pockets" && new List<string> { throwableItemId, ammoItemId, magazineId, medicalItemId, mediKitItem, injectorItemId }.Any(item.Template._parent.Contains))
{ {
//this.logger.LogError($"Skipping item {item.Id} {item.Name} as its on the item type blacklist"); //this.logger.LogError($"Skipping item {item.Id} {item.Name} as its on the item type blacklist");
continue; continue;