mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-13 06:50:44 -05:00
Don't add FiR to injectors in PMC pockets
This commit is contained in:
parent
761d6c339d
commit
e5c47ab5e9
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user