mirror of
https://github.com/osukey/osukey.git
synced 2025-05-22 22:17:36 +09: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()
|
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())
|
if (!ParentScreen.IsCurrentScreen())
|
||||||
{
|
{
|
||||||
ParentScreen.MakeCurrent();
|
ParentScreen.MakeCurrent();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user