Fix borg hands showing up in stripping menu (#32606)

* Fix borg hands showing up in stripping menu

Borgs can't drop their items anyways, and the amount of hands borgs have causes the UI to just bug out.

* Add more checks
This commit is contained in:
Pieter-Jan Briers
2024-10-03 02:11:56 +02:00
committed by GitHub
parent 440742f8f7
commit 2d644095e3
4 changed files with 17 additions and 1 deletions

View File

@@ -98,7 +98,7 @@ namespace Content.Client.Inventory
}
}
if (EntMan.TryGetComponent<HandsComponent>(Owner, out var handsComp))
if (EntMan.TryGetComponent<HandsComponent>(Owner, out var handsComp) && handsComp.CanBeStripped)
{
// good ol hands shit code. there is a GuiHands comparer that does the same thing... but these are hands
// and not gui hands... which are different...