Skip to content

2021-February-27 - Prerelease - 2.6.36@1b1f976e6c

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 27 Feb 22:18
1b1f976
Improve unit separator parameters (#8920)

* Use a builder class to manage the categories in UnitSeparator
* Add a category separator for amphibious units
* Always sort unit categories

The units categories were intentionally not sorted in the BattleDisplay
because it needed the categories sorted by strength so that it could do
support calculations.  But the logic for support calculations has
changed to the point that the categories don't need to be sorted by
strength. So categories can be sorted without causing a problem.