Replaces anchored lookup flag with static (#13036)

This commit is contained in:
Leon Friedrich
2022-12-15 17:29:46 +13:00
committed by GitHub
parent 0db4402567
commit 6fa2391e42
10 changed files with 12 additions and 12 deletions

View File

@@ -102,7 +102,7 @@ namespace Content.Server.Chat
}
// Suicide by nearby entity (ex: Microwave)
foreach (var entity in _entityLookupSystem.GetEntitiesInRange(victim, 1, LookupFlags.Approximate | LookupFlags.Anchored))
foreach (var entity in _entityLookupSystem.GetEntitiesInRange(victim, 1, LookupFlags.Approximate | LookupFlags.Static))
{
// Skip any nearby items that can be picked up, we already checked the active held item above
if (itemQuery.HasComponent(entity))