Fix turn choice ordering not functioning properly
This commit is contained in:
3 files changed
+76
-19
No files matched your search
@@ -25,6 +25,7 @@ public class BattleChoiceQueue : IDeepCloneable
|
||||
/// <inheritdoc cref="BattleChoiceQueue"/>
|
||||
public BattleChoiceQueue(ITurnChoice[] choices)
|
||||
{
|
||||
Array.Sort(choices, TurnChoiceComparer.Instance!);
|
||||
_choices = choices;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user