Remove hands component reference (#15197)

This commit is contained in:
DrSmugleaf
2023-04-07 11:21:12 -07:00
committed by GitHub
parent c54ee5290b
commit b947856431
73 changed files with 277 additions and 328 deletions

View File

@@ -14,7 +14,6 @@ using Content.Shared.Popups;
using Content.Shared.Toggleable;
using Robust.Shared.Physics;
using Robust.Shared.Physics.Components;
using Robust.Shared.Physics.Dynamics;
using Robust.Shared.Physics.Systems;
using Robust.Shared.Player;
using Robust.Shared.Prototypes;
@@ -85,7 +84,7 @@ public sealed partial class BlockingSystem : EntitySystem
return;
var blockQuery = GetEntityQuery<BlockingComponent>();
var handQuery = GetEntityQuery<SharedHandsComponent>();
var handQuery = GetEntityQuery<HandsComponent>();
if (!handQuery.TryGetComponent(args.Performer, out var hands))
return;
@@ -265,7 +264,7 @@ public sealed partial class BlockingSystem : EntitySystem
StopBlocking(uid, component, user);
var userQuery = GetEntityQuery<BlockingUserComponent>();
var handQuery = GetEntityQuery<SharedHandsComponent>();
var handQuery = GetEntityQuery<HandsComponent>();
if (!handQuery.TryGetComponent(user, out var hands))
return;