mirror of
https://github.com/Stone-Red-Code/LargeGridPathfinding.git
synced 2026-09-04 09:06:12 +02:00
Reset gridChanged before updating graph for affected zones
This commit is contained in:
@@ -767,6 +767,7 @@ public class LargeGridPathfindingGame : Game
|
||||
|
||||
if (localAffectedZones.Count > 0)
|
||||
{
|
||||
gridChanged = false;
|
||||
ProgressTracker.ProgressData progressDataUpdateGraph = progressTracker.AddProgress("Updating graph", true, out _);
|
||||
|
||||
// Use incremental update instead of full rebuild
|
||||
|
||||
Reference in New Issue
Block a user