Replaces anchored lookup flag with static (#13036)
This commit is contained in:
@@ -82,7 +82,7 @@ public sealed class TetherGunSystem : SharedTetherGunSystem
|
||||
var bodyQuery = GetEntityQuery<PhysicsComponent>();
|
||||
var lowest = new List<(int DrawDepth, uint RenderOrder, EntityUid Entity)>();
|
||||
|
||||
foreach (var ent in _lookup.GetEntitiesIntersecting(mousePos, LookupFlags.Approximate | LookupFlags.Anchored))
|
||||
foreach (var ent in _lookup.GetEntitiesIntersecting(mousePos, LookupFlags.Approximate | LookupFlags.Static))
|
||||
{
|
||||
if (!bodyQuery.HasComponent(ent) ||
|
||||
!TryComp<ClickableComponent>(ent, out var clickable) ||
|
||||
|
||||
Reference in New Issue
Block a user