Salvage dungeons (#14520)

This commit is contained in:
metalgearsloth
2023-03-10 16:41:22 +11:00
committed by GitHub
parent 214ca06997
commit 6157dfa3c0
145 changed files with 24649 additions and 396 deletions

View File

@@ -32,7 +32,7 @@ public sealed partial class PathfindingSystem
/// If true, UpdateGrid() will not process grids.
/// </summary>
/// <remarks>
/// Useful if something like a large explosion is in the process of shredding the grid, as it avoids uneccesary
/// Useful if something like a large explosion is in the process of shredding the grid, as it avoids unneccesary
/// updating.
/// </remarks>
public bool PauseUpdating = false;
@@ -232,11 +232,6 @@ public sealed partial class PathfindingSystem
comp.DirtyChunks.Clear();
}
#if DEBUG
if (updateCount > 0)
_sawmill.Debug($"Updated {updateCount} nav chunks in {_stopwatch.Elapsed.TotalMilliseconds:0.000}ms");
#endif
}
private bool IsBodyRelevant(PhysicsComponent body)