Replaces anchored lookup flag with static (#13036)
This commit is contained in:
@@ -15,7 +15,7 @@ namespace Content.Shared.Construction.Conditions
|
||||
{
|
||||
var result = false;
|
||||
|
||||
foreach (var entity in location.GetEntitiesInTile(LookupFlags.Approximate | LookupFlags.Anchored))
|
||||
foreach (var entity in location.GetEntitiesInTile(LookupFlags.Approximate | LookupFlags.Static))
|
||||
{
|
||||
if (IoCManager.Resolve<IEntityManager>().HasComponent<SharedCanBuildWindowOnTopComponent>(entity))
|
||||
result = true;
|
||||
|
||||
Reference in New Issue
Block a user