Gets rid of all ComponentManager usages. (#4707)
This commit is contained in:
committed by
GitHub
parent
7953e5b962
commit
0be5ff829b
@@ -26,7 +26,7 @@ namespace Content.Shared.Pulling.Systems
|
||||
|
||||
if (component.Pulling == EntityManager.GetEntity(args.BlockingEntity))
|
||||
{
|
||||
if (ComponentManager.TryGetComponent<SharedPullableComponent>(args.BlockingEntity, out var comp))
|
||||
if (EntityManager.TryGetComponent<SharedPullableComponent>(args.BlockingEntity, out var comp))
|
||||
{
|
||||
comp.TryStopPull(EntityManager.GetEntity(uid));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user