1
0
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:
Dean Herbert 2021-02-05 16:19:45 +09:00
parent 9ba5ae3db7
commit be91f54349

View File

@ -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()