Clean up all missing EntitySystem proxy method uses (#38353)

This commit is contained in:
Tayrtahn
2025-06-26 19:50:49 -04:00
committed by GitHub
parent 73df3b1593
commit 75db49f9c0
185 changed files with 418 additions and 418 deletions

View File

@@ -174,7 +174,7 @@ namespace Content.Server.Power.EntitySystems
private void OnReceiverStarted(Entity<ExtensionCableReceiverComponent> receiver, ref ComponentStartup args)
{
if (EntityManager.TryGetComponent(receiver.Owner, out PhysicsComponent? physicsComponent))
if (TryComp(receiver.Owner, out PhysicsComponent? physicsComponent))
{
receiver.Comp.Connectable = physicsComponent.BodyType == BodyType.Static;
}