Skip to content

Follow-up fixes for client-side slots implementation#37868

Merged
peppy merged 2 commits into
ppy:masterfrom
bdach:slots-follow-up-fixes
May 24, 2026
Merged

Follow-up fixes for client-side slots implementation#37868
peppy merged 2 commits into
ppy:masterfrom
bdach:slots-follow-up-fixes

Conversation

@bdach
Copy link
Copy Markdown
Collaborator

@bdach bdach commented May 22, 2026

Fell out of full-stack testing with ppy/osu-server-spectator#513.

  • Fix missing property copy in multiplayer client
    Would cause the participant count limit to not update on the multiplayer match screen.

  • Fix hard crash when user is kicked from a room with slots active
    The kicked user is unsubscribed from receiving room state updates before their slot is vacated, which then would lead this code to attempt to look the local, kicked user via the unvacated slot and thus fail because client.Room.Users does not contain the user anymore.

    This is a bit of a dicey change but I think it's less dicey than to try to wiggle ordering server-side.

bdach added 2 commits May 22, 2026 12:08
Would cause the participant count limit to not update on the multiplayer
match screen.
The kicked user is unsubscribed from receiving room state updates before
their slot is vacated, which then would lead this code to attempt to
look the local, kicked user via the unvacated slot and thus fail because
`client.Room.Users` does *not* contain the user anymore.

This is a bit of a dicey change but I think it's less dicey than to try
to wiggle ordering server-side.
@bdach bdach changed the title slots follow up fixes Follow-up fixes for client-side slots implementation May 22, 2026
@bdach bdach moved this from Inbox to Pending Review in osu! team task tracker May 22, 2026
@peppy peppy merged commit 18d4348 into ppy:master May 24, 2026
9 of 10 checks passed
@github-project-automation github-project-automation Bot moved this from Pending Review to Done in osu! team task tracker May 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants