Fix puller empty statement

This commit is contained in:
metalgearsloth
2021-09-21 00:13:03 +10:00
parent aafef87435
commit b45d121c24

View File

@@ -24,7 +24,7 @@ namespace Content.Shared.Pulling.Systems
if (component.Pulling == null) if (component.Pulling == null)
return; return;
if (component.Pulling == EntityManager.GetEntity(args.BlockingEntity)); if (component.Pulling == EntityManager.GetEntity(args.BlockingEntity))
{ {
if (ComponentManager.TryGetComponent<SharedPullableComponent>(args.BlockingEntity, out var comp)) if (ComponentManager.TryGetComponent<SharedPullableComponent>(args.BlockingEntity, out var comp))
{ {