Fix forensics not being applied to held items (#30609)
* Initial commit * Fix merge changes * sloth comment: bitmask * fix MIA parameter --------- Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Co-authored-by: EmoGarbage404 <retron404@gmail.com>
This commit is contained in:
@@ -31,8 +31,8 @@ namespace Content.Server.Inventory
|
||||
var enumerator = new InventorySlotEnumerator(source.Comp);
|
||||
while (enumerator.NextItem(out var item, out var slot))
|
||||
{
|
||||
if (TryUnequip(source, slot.Name, true, true, inventory: source.Comp))
|
||||
TryEquip(target, item, slot.Name , true, true, inventory: target.Comp);
|
||||
if (TryUnequip(source, slot.Name, true, true, inventory: source.Comp, triggerHandContact: true))
|
||||
TryEquip(target, item, slot.Name , true, true, inventory: target.Comp, triggerHandContact: true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user