Removes references to GetAnchoredEntitiesEnumerator(Vector2i) (#37796)
* Removes references to GetAnchoredEntitiesEnumerator(Vector2i) * requested changes(I think)
This commit is contained in:
@@ -567,7 +567,7 @@ public abstract partial class SharedMoverController : VirtualController
|
||||
|
||||
// If the coordinates have a FootstepModifier component
|
||||
// i.e. component that emit sound on footsteps emit that sound
|
||||
var anchored = grid.GetAnchoredEntitiesEnumerator(position);
|
||||
var anchored = _mapSystem.GetAnchoredEntitiesEnumerator(xform.GridUid.Value, grid, position);
|
||||
|
||||
while (anchored.MoveNext(out var maybeFootstep))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user