mirror of
https://github.com/Stone-Red-Code/LargeGridPathfinding.git
synced 2026-09-07 15:56:27 +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)
|
if (localAffectedZones.Count > 0)
|
||||||
{
|
{
|
||||||
|
gridChanged = false;
|
||||||
ProgressTracker.ProgressData progressDataUpdateGraph = progressTracker.AddProgress("Updating graph", true, out _);
|
ProgressTracker.ProgressData progressDataUpdateGraph = progressTracker.AddProgress("Updating graph", true, out _);
|
||||||
|
|
||||||
// Use incremental update instead of full rebuild
|
// Use incremental update instead of full rebuild
|
||||||
|
|||||||
Reference in New Issue
Block a user