Fix tile-events returns (#37502)
* Fix tile-events returns Should really be continues. * More * More optimisations
This commit is contained in:
@@ -53,7 +53,7 @@ public sealed partial class PathfindingSystem
|
||||
foreach (var change in ev.Changes)
|
||||
{
|
||||
if (change.OldTile.IsEmpty == change.NewTile.IsEmpty)
|
||||
return;
|
||||
continue;
|
||||
|
||||
DirtyChunk(ev.Entity, _maps.GridTileToLocal(ev.Entity, ev.Entity.Comp, change.GridIndices));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user