hands ECS (#7081)
This commit is contained in:
@@ -102,7 +102,7 @@ namespace Content.Server.Verbs
|
||||
// first get the held item. again.
|
||||
EntityUid? holding = null;
|
||||
if (TryComp(user, out SharedHandsComponent? hands) &&
|
||||
hands.TryGetActiveHeldEntity(out var heldEntity))
|
||||
hands.ActiveHandEntity is EntityUid heldEntity)
|
||||
{
|
||||
holding = heldEntity;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user