parent
f2e6814d92
commit
5a6070d038
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue