Fix crash when the round restarts (#1161)
This commit is contained in:
@@ -198,6 +198,11 @@ namespace Content.Server.GameObjects.EntitySystems.AI.Pathfinding
|
||||
_mapManager.TileChanged -= QueueTileChange;
|
||||
}
|
||||
|
||||
public void ResettingCleanup()
|
||||
{
|
||||
_queuedGraphUpdates.Clear();
|
||||
}
|
||||
|
||||
private void QueueGridRemoval(GridId gridId)
|
||||
{
|
||||
_queuedGraphUpdates.Enqueue(new GridRemoval(gridId));
|
||||
|
||||
Reference in New Issue
Block a user