Skip to content

Improve ComputeRosterType to exclude observers, normalization#8

Merged
x64-dev merged 1 commit intoGeneralsOnlineDevelopmentTeam:efcorefrom
tintinhamans:arctic/roster-type
Mar 20, 2026
Merged

Improve ComputeRosterType to exclude observers, normalization#8
x64-dev merged 1 commit intoGeneralsOnlineDevelopmentTeam:efcorefrom
tintinhamans:arctic/roster-type

Conversation

@tintinhamans
Copy link
Contributor

@tintinhamans tintinhamans commented Mar 18, 2026

  • Refactored ComputeRosterType to remove the playersSeen parameter and instead use only playersPerTeam for determining roster types, resulting in more accurate classification of FFA and team matches.
  • Updated logic to exclude observers (side == -2) from the active player count when populating playersPerTeam, ensuring only active participants are considered in roster calculations.

Signed-off-by: tintinhamans <5984296+tintinhamans@users.noreply.github.com>
@tintinhamans tintinhamans marked this pull request as ready for review March 18, 2026 22:47
@x64-dev x64-dev merged commit 1808e7a into GeneralsOnlineDevelopmentTeam:efcore Mar 20, 2026
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