Differentiate between Pathfinding + Path running
authorLiza Carvelli <liza@carvel.li>
Mon, 22 Jul 2024 22:38:32 +0000 (00:38 +0200)
committerLiza Carvelli <liza@carvel.li>
Mon, 22 Jul 2024 22:38:32 +0000 (00:38 +0200)
Questionable/Controller/QuestController.cs

index 5f4787cce46e3a360c397777a0f198387f041761..4630e60041a0e43e7be21b263e5428f57100388e 100644 (file)
@@ -225,7 +225,13 @@ internal sealed class QuestController
                 return;
             }
 
-            if (_movementController.IsPathfinding || _movementController.IsPathRunning)
+            if (_movementController.IsPathfinding)
+            {
+                DebugState = "Pathfinding is running";
+                return;
+            }
+
+            if (_movementController.IsPathRunning)
             {
                 DebugState = "Path is running";
                 return;