Skip to content

bug: a match whose lineups are smaller than its type, like a 3v3 Competitive, expects the players it has instead of pausing every round for ones that don't exist - #274

Merged
lukepolo merged 1 commit into
mainfrom
bug/expected-players-from-roster
Oct 26, 2026
Merged

lukepolo merged 1 commit into
mainfrom
bug/expected-players-from-roster

Conversation

@lukepolo

Copy link
Copy Markdown
Contributor

The plugin expected the type's player count, 10 for Competitive, everywhere: round start pauses a round that starts short of it, readiness waits for it, a restore waits for it and a lineup's capacity is half of it. A 3v3 Competitive therefore paused at every round start for four players that don't exist, and with ready_setting Players never readied. Both plugins now expect two sides of the type's size unless both lineups are smaller, in which case each side is the larger lineup; a full or substitute-padded roster still expects the type's count, and an empty one falls back to it. Found by the simulator, which uses the same shared entity.

Tests (ExpectedPlayerCountTests, both apps): the type's count for full rosters (Competitive 5v5, 6v6 with subs, 5v3; Wingman, Duel, Rush), the roster for lineups smaller than the type (3v3 is 6), the type's count before anyone is in a lineup. swiftly 363, counterstrikesharp 304 passed.

…etitive, expects the players it has instead of pausing every round for ones that don't exist
@lukepolo
lukepolo merged commit d6a822d into main Oct 26, 2026
7 checks passed
@lukepolo
lukepolo deleted the bug/expected-players-from-roster branch October 26, 2026 22:03
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.

1 participant