Fix turn choice ordering not functioning properly

This commit is contained in:
2025-11-02 22:57:46 +01:00
parent 7e537c4003
commit f00453448f
3 changed files with 76 additions and 19 deletions

View File

@@ -25,6 +25,7 @@ public class BattleChoiceQueue : IDeepCloneable
/// <inheritdoc cref="BattleChoiceQueue"/>
public BattleChoiceQueue(ITurnChoice[] choices)
{
Array.Sort(choices, TurnChoiceComparer.Instance!);
_choices = choices;
}