hands ECS (#7081)
This commit is contained in:
@@ -80,7 +80,7 @@ namespace Content.Shared.Verbs
|
||||
EntityUid? @using = null;
|
||||
if (TryComp(user, out SharedHandsComponent? hands) && (force || _actionBlockerSystem.CanUseHeldEntity(user)))
|
||||
{
|
||||
hands.TryGetActiveHeldEntity(out @using);
|
||||
@using = hands.ActiveHandEntity;
|
||||
|
||||
// Check whether the "Held" entity is a virtual pull entity. If yes, set that as the entity being "Used".
|
||||
// This allows you to do things like buckle a dragged person onto a surgery table, without click-dragging
|
||||
|
||||
Reference in New Issue
Block a user