This commit is contained in:
Leon Friedrich
2022-03-17 20:13:31 +13:00
committed by GitHub
parent 7b84362901
commit bfd95c493b
94 changed files with 1454 additions and 2185 deletions

View File

@@ -218,7 +218,7 @@ namespace Content.Server.Interaction
// Verify user has a hand, and find what object they are currently holding in their active hand
if (TryComp(user, out HandsComponent? hands))
{
var item = hands.GetActiveHandItem?.Owner;
var item = hands.ActiveHandEntity;
if (item != null && !Deleted(item.Value))
{