Suppress pathfinding debug assert (#20101)

This commit is contained in:
metalgearsloth
2023-09-15 23:34:01 +10:00
committed by GitHub
parent 6e05aba338
commit 7e4f755d7f

View File

@@ -558,10 +558,13 @@ public sealed partial class PathfindingSystem
} }
} }
/*This is causing too many issues and I'd rather just ignore it until pathfinder refactor
to just get tiles at runtime.
if ((flags & PathfindingBreadcrumbFlag.Space) != 0x0) if ((flags & PathfindingBreadcrumbFlag.Space) != 0x0)
{ {
DebugTools.Assert(tileEntities.Count == 0); // DebugTools.Assert(tileEntities.Count == 0);
} }
*/
var crumb = new PathfindingBreadcrumb() var crumb = new PathfindingBreadcrumb()
{ {