Clean up all missing EntitySystem proxy method uses (#38353)
This commit is contained in:
@@ -205,7 +205,7 @@ public sealed partial class NPCSteeringSystem : SharedNPCSteeringSystem
|
||||
if (!Resolve(uid, ref component, false))
|
||||
return;
|
||||
|
||||
if (EntityManager.TryGetComponent(uid, out InputMoverComponent? controller))
|
||||
if (TryComp(uid, out InputMoverComponent? controller))
|
||||
{
|
||||
controller.CurTickSprintMovement = Vector2.Zero;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user