Update content for new lookup API (#7363)
This commit is contained in:
@@ -18,6 +18,7 @@ using Robust.Shared.Enums;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.IoC;
|
||||
using Robust.Shared.Localization;
|
||||
using Robust.Shared.Map;
|
||||
using Robust.Shared.Prototypes;
|
||||
|
||||
namespace Content.Server.Chat.Commands
|
||||
@@ -101,7 +102,7 @@ namespace Content.Server.Chat.Commands
|
||||
}
|
||||
|
||||
// Get all entities in range of the suicider
|
||||
var entities = EntitySystem.Get<EntityLookupSystem>().GetEntitiesInRange(owner, 1, LookupFlags.Approximate | LookupFlags.IncludeAnchored).ToArray();
|
||||
var entities = EntitySystem.Get<EntityLookupSystem>().GetEntitiesInRange(owner, 1, LookupFlags.Approximate | LookupFlags.Anchored).ToArray();
|
||||
|
||||
if (entities.Length > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user