Clean up all missing EntitySystem proxy method uses (#38353)
This commit is contained in:
@@ -236,7 +236,7 @@ namespace Content.Shared.Cuffs
|
||||
|
||||
private void HandleMoveAttempt(EntityUid uid, CuffableComponent component, UpdateCanMoveEvent args)
|
||||
{
|
||||
if (component.CanStillInteract || !EntityManager.TryGetComponent(uid, out PullableComponent? pullable) || !pullable.BeingPulled)
|
||||
if (component.CanStillInteract || !TryComp(uid, out PullableComponent? pullable) || !pullable.BeingPulled)
|
||||
return;
|
||||
|
||||
args.Cancel();
|
||||
|
||||
Reference in New Issue
Block a user