Replaces anchored lookup flag with static (#13036)
This commit is contained in:
@@ -13,7 +13,7 @@ namespace Content.Shared.Construction.Conditions
|
||||
{
|
||||
var tagSystem = IoCManager.Resolve<IEntitySystemManager>().GetEntitySystem<TagSystem>();
|
||||
|
||||
foreach (var entity in location.GetEntitiesInTile(LookupFlags.Approximate | LookupFlags.Anchored))
|
||||
foreach (var entity in location.GetEntitiesInTile(LookupFlags.Approximate | LookupFlags.Static))
|
||||
{
|
||||
if (tagSystem.HasTag(entity, "Window"))
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user