Adjust vote-to-skip messaging flow to be explicit about states #35909
+8
−13
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
RFC. Want to see if this structure is agreeable, or if we need a more common "ResetStatesForGameplay" method.
There's two compounding issues with the current skip implementation that I didn't consider:
Playerhas loaded and before all other players have finished loading, or in other words before the room is in aPlayingstate. This results in a client-side error because the server rejects this call. The button gets disabled so the user can no longer skip.... The result of which leads to this broken interaction:
2025-12-06.13-40-54.mp4
So the primary idea of these changes is to reset (or rather, set) the states exactly as the server requires us to do. That will then allow the server to move this wherever is appropriate - see ppy/osu-server-spectator#388