Skip to content

fix: validate opponent roster before starting match and show error - #332

Open
TtvNekix wants to merge 1 commit into
OpenLeagueManager:developfrom
TtvNekix:fix/preseason-game-launch
Open

fix: validate opponent roster before starting match and show error#332
TtvNekix wants to merge 1 commit into
OpenLeagueManager:developfrom
TtvNekix:fix/preseason-game-launch

Conversation

@TtvNekix

Copy link
Copy Markdown
Contributor

The "start match" button appeared to do nothing when the opponent team was missing players in one or more roles (e.g. no SUPPORT player for Fnatic).

The backend now validates BOTH teams have a full 5-role lineup (TOP, JUNGLE, MID, ADC, SUPPORT) before creating the live match, returning a clear error message when either side can't field a complete team.

The 'start match' button did nothing when the opponent team was missing
players in one or more roles (e.g. no support player). The backend now
validates BOTH teams have a full 5-role lineup before creating the match,
returning a clear error message when the opponent can't field a team.
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