Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved premature return to MultiplayerGameScreen on GameEnd #4092

Merged
merged 2 commits into from
Apr 30, 2024

Conversation

WilliamQiufeng
Copy link
Contributor

@WilliamQiufeng WilliamQiufeng commented Apr 29, 2024

Only returns to the screen when all players have not finished playing the map (not when the spectator has not finished the replay).

This method does not rely on timing threshold, i.e. the game screen exits if we're more than 10sec before ending and the GameEnded packet is received. Instead, it now needs all players to have not finished the map before !mp end is called.

The following mapset is modified so that the notes in the first 20 seconds are removed. It could be used as a testing map.

II-L - Unidentified Frequency Op.3 (Type-Triangle) - 147332 - 副本.zip

A new field, Force, is added to GameEnded packet, which indicates whether the game is force-ended.
Only returns to the screen when !mp end is sent or lobby is disband (latter situation won't happen in tournaments)
@AiAe AiAe merged commit de2b0c1 into Quaver:ui-redesign Apr 30, 2024
1 check 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.

None yet

2 participants