Skip to content

Fixed ComputeRosterType to correctly handle unassigned players - #10

Merged
x64-dev merged 2 commits into
GeneralsOnlineDevelopmentTeam:mainfrom
tintinhamans:arctic/roster-type
Mar 25, 2026
Merged

Fixed ComputeRosterType to correctly handle unassigned players#10
x64-dev merged 2 commits into
GeneralsOnlineDevelopmentTeam:mainfrom
tintinhamans:arctic/roster-type

Conversation

@tintinhamans

Copy link
Copy Markdown
Contributor
  • Fixed an issue where matches consisting only of unassigned players (team -1) would result in empty strings (e.g. 1v1s).
  • Updated grouping logic to append unassigned players as individual groups of 1 using Enumerable.Repeat, eliminating the standalone FFA check.
  • Updated to return "Unknown" for matches where all active players are on the same team (groups.Count == 1).

@x64-dev
x64-dev merged commit cbfda69 into GeneralsOnlineDevelopmentTeam:main Mar 25, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants