Lookup changes (#18416)

This commit is contained in:
metalgearsloth
2023-08-06 12:44:05 +10:00
committed by GitHub
parent 066ec55525
commit d3aece12cb
10 changed files with 76 additions and 58 deletions

View File

@@ -138,7 +138,7 @@ namespace Content.Server.Atmos.EntitySystems
tile.PressureSpecificTarget = curTile;
}
foreach (var entity in _lookup.GetEntitiesIntersecting(tile.GridIndex, tile.GridIndices))
foreach (var entity in _lookup.GetEntitiesIntersecting(tile.GridIndex, tile.GridIndices, 0f))
{
// Ideally containers would have their own EntityQuery internally or something given recursively it may need to slam GetComp<T> anyway.
// Also, don't care about static bodies (but also due to collisionwakestate can't query dynamic directly atm).