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:
parent
6da4105da6
commit
66ae6e58d1
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user