cleared up issue with pathing, but still an issue with attacks?

This commit is contained in:
2026-06-26 02:52:08 -04:00
parent 350d2bc4d1
commit 2529d01ff4
2 changed files with 9 additions and 12 deletions
+3 -3
View File
@@ -79,7 +79,7 @@ public partial class PegController : TurnController
_pegs.ForEach(e => e._path.Clear());
List<Peg> remainingPegs = GetRemainingPegs();
while (remainingPegs.Count > 0 && _actionLoop < 100)
while (remainingPegs.Count > 0 && _actionLoop < 10)
{
for (int i = 0; i < remainingPegs.Count; i++)
{
@@ -89,9 +89,9 @@ public partial class PegController : TurnController
}
remainingPegs = GetRemainingPegs();
_actionLoop++;
if (_actionLoop == 100)
if (_actionLoop == 10)
{
GD.Print(string.Join(", ",remainingPegs.Select(p => p._address.ToString() + p._staminaRemaining+p.CanMove()+p.CanAct())));
Peg peg_ = remainingPegs[0];
GD.Print("LOOPMAXEDOUT");
}
}