Make content use EntityLookupFlags (#4531)

* Use lookup flags

* Woops
This commit is contained in:
metalgearsloth
2021-08-29 14:23:11 +10:00
committed by GitHub
parent a3c19ad439
commit 4e46cf7d27
9 changed files with 14 additions and 14 deletions

View File

@@ -39,7 +39,7 @@ namespace Content.Server.Physics.Controllers
return;
}
var intersecting = IoCManager.Resolve<IEntityLookup>().GetEntitiesIntersecting(comp.Owner, true);
var intersecting = IoCManager.Resolve<IEntityLookup>().GetEntitiesIntersecting(comp.Owner, LookupFlags.Approximate | LookupFlags.IncludeAnchored);
var direction = comp.GetAngle().ToVec();
Vector2? ownerPos = null;