@@ -323,7 +323,9 @@ public sealed partial class DockingSystem
|
||||
// If it's a map check no hard collidable anchored entities overlap
|
||||
if (isMap)
|
||||
{
|
||||
foreach (var tile in _mapSystem.GetLocalTilesIntersecting(gridEntity.Owner, gridEntity.Comp, aabb))
|
||||
var localTiles = _mapSystem.GetLocalTilesEnumerator(gridEntity.Owner, gridEntity.Comp, aabb);
|
||||
|
||||
while (localTiles.MoveNext(out var tile))
|
||||
{
|
||||
var anchoredEnumerator = _mapSystem.GetAnchoredEntitiesEnumerator(gridEntity.Owner, gridEntity.Comp, tile.GridIndices);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user