Entitylookup method renames (#23519)
This commit is contained in:
@@ -84,7 +84,7 @@ namespace Content.Server.Abilities.Mime
|
||||
}
|
||||
|
||||
// Check there are no mobs there
|
||||
foreach (var entity in _lookupSystem.GetEntitiesIntersecting(tile.Value, 0f))
|
||||
foreach (var entity in _lookupSystem.GetLocalEntitiesIntersecting(tile.Value, 0f))
|
||||
{
|
||||
if (HasComp<MobStateComponent>(entity) && entity != uid)
|
||||
{
|
||||
|
||||
@@ -34,7 +34,7 @@ public sealed partial class CleanTileReaction : ITileReaction
|
||||
FixedPoint2 ITileReaction.TileReact(TileRef tile, ReagentPrototype reagent, FixedPoint2 reactVolume)
|
||||
{
|
||||
var entMan = IoCManager.Resolve<IEntityManager>();
|
||||
var entities = entMan.System<EntityLookupSystem>().GetEntitiesIntersecting(tile, 0f).ToArray();
|
||||
var entities = entMan.System<EntityLookupSystem>().GetLocalEntitiesIntersecting(tile, 0f).ToArray();
|
||||
var puddleQuery = entMan.GetEntityQuery<PuddleComponent>();
|
||||
var solutionContainerSystem = entMan.System<SolutionContainerSystem>();
|
||||
// Multiply as the amount we can actually purge is higher than the react amount.
|
||||
|
||||
@@ -150,7 +150,7 @@ public sealed class ElectrocutionSystem : SharedElectrocutionSystem
|
||||
|
||||
if (tileRef != null)
|
||||
{
|
||||
foreach (var entity in _entityLookup.GetEntitiesIntersecting(tileRef.Value, flags: LookupFlags.StaticSundries))
|
||||
foreach (var entity in _entityLookup.GetLocalEntitiesIntersecting(tileRef.Value, flags: LookupFlags.StaticSundries))
|
||||
{
|
||||
if (_tag.HasTag(entity, "Window"))
|
||||
return false;
|
||||
|
||||
@@ -436,7 +436,7 @@ public sealed partial class PathfindingSystem
|
||||
// var isBorder = x < 0 || y < 0 || x == ChunkSize - 1 || y == ChunkSize - 1;
|
||||
|
||||
tileEntities.Clear();
|
||||
var available = _lookup.GetEntitiesIntersecting(tile, flags: LookupFlags.Dynamic | LookupFlags.Static);
|
||||
var available = _lookup.GetLocalEntitiesIntersecting(tile, flags: LookupFlags.Dynamic | LookupFlags.Static);
|
||||
|
||||
foreach (var ent in available)
|
||||
{
|
||||
|
||||
@@ -125,7 +125,7 @@ public sealed class ConveyorController : SharedConveyorController
|
||||
|
||||
if (beltTileRef != null)
|
||||
{
|
||||
var intersecting = Lookup.GetEntitiesIntersecting(beltTileRef.Value, 0f);
|
||||
var intersecting = Lookup.GetLocalEntitiesIntersecting(beltTileRef.Value, 0f);
|
||||
|
||||
foreach (var entity in intersecting)
|
||||
{
|
||||
|
||||
@@ -177,7 +177,7 @@ public sealed partial class BlockingSystem : EntitySystem
|
||||
var playerTileRef = xform.Coordinates.GetTileRef();
|
||||
if (playerTileRef != null)
|
||||
{
|
||||
var intersecting = _lookup.GetEntitiesIntersecting(playerTileRef.Value, 0f);
|
||||
var intersecting = _lookup.GetLocalEntitiesIntersecting(playerTileRef.Value, 0f);
|
||||
var mobQuery = GetEntityQuery<MobStateComponent>();
|
||||
foreach (var uid in intersecting)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user