mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 13:32:54 +08:00
Add back edge case with comment
This commit is contained in:
parent
9ba5ae3db7
commit
be91f54349
@ -328,6 +328,10 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
|
||||
return;
|
||||
|
||||
client.ChangeBeatmapAvailability(availability.NewValue);
|
||||
|
||||
// while this flow is handled server-side, this covers the edge case of the local user being in a ready state and then deleting the current beatmap.
|
||||
if (client.LocalUser?.State == MultiplayerUserState.Ready)
|
||||
client.ChangeState(MultiplayerUserState.Idle);
|
||||
}
|
||||
|
||||
private void onReadyClick()
|
||||
|
Loading…
Reference in New Issue
Block a user