1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-22 22:17:46 +08:00

Reword comment regarding LoadRequested special case to be easier to understand context

This commit is contained in:
Dean Herbert 2021-05-03 14:01:10 +09:00
parent 6da4105da6
commit 66ae6e58d1

View File

@ -413,7 +413,8 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
private void onLoadRequested()
{
// If the user is spectating, the multi-spectator screen may still be the current screen.
// In the case of spectating, IMultiplayerClient.LoadRequested can be fired while the game is still spectating a previous session.
// For now, we want to game to switch to the new game so need to request exiting from the play screen.
if (!ParentScreen.IsCurrentScreen())
{
ParentScreen.MakeCurrent();