mirror of
https://github.com/osukey/osukey.git
synced 2025-06-05 21:07:18 +09:00
Merge pull request #11467 from bdach/fix-multiplayer-non-host-crash
Fix non-hosts crashing on load requested
This commit is contained in:
commit
10fd4cf7c9
@ -241,8 +241,7 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
|
|||||||
|
|
||||||
void endOperation()
|
void endOperation()
|
||||||
{
|
{
|
||||||
Debug.Assert(readyClickOperation != null);
|
readyClickOperation?.Dispose();
|
||||||
readyClickOperation.Dispose();
|
|
||||||
readyClickOperation = null;
|
readyClickOperation = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -255,9 +254,7 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
|
|||||||
|
|
||||||
StartPlay(() => new MultiplayerPlayer(SelectedItem.Value, userIds));
|
StartPlay(() => new MultiplayerPlayer(SelectedItem.Value, userIds));
|
||||||
|
|
||||||
Debug.Assert(readyClickOperation != null);
|
readyClickOperation?.Dispose();
|
||||||
|
|
||||||
readyClickOperation.Dispose();
|
|
||||||
readyClickOperation = null;
|
readyClickOperation = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user