[STAGING] Fix Hardsuit Helmets dropping on being gibbed. (#42703)

* bullshit

* sdasdsas

---------

Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
This commit is contained in:
Princess Cheeseballs 2026-01-31 11:14:14 -08:00 committed by Coryler
parent 19e21ea954
commit 77f927cca3
1 changed files with 4 additions and 1 deletions

View File

@ -571,7 +571,10 @@ public abstract partial class InventorySystem
{
foreach (var item in GetHandOrInventoryEntities((ent, null, ent)))
{
args.Giblets.Add(item);
// Give me liberty, give me death
// TODO: Give me an API that can tell the difference between a virtual item and an electropak being removed.
if (!HasComp<AttachedClothingComponent>(item))
args.Giblets.Add(item);
}
}
}