Fix crashes

This commit is contained in:
Asriel Camora
2024-05-06 00:05:49 -07:00
parent 869a27bf3a
commit b5ed17dc15
5 changed files with 11 additions and 10 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ internal sealed class Simulator : SimulatorNoRandom
State = state;
pool = pool.Where(x => x.Item1.IsPossible(this));
}
actionPoolObjects = pool.OrderBy(x => x.x).ToArray();
actionPoolObjects = [.. pool.OrderBy(x => x.x)];
this.maxStepCount = maxStepCount;
}