1
0
mirror of https://github.com/ppy/osu.git synced 2024-05-15 02:00:22 +08:00

Fix SpectatorClient holding references to Player

This commit is contained in:
Dan Balasescu 2024-04-03 17:32:02 +09:00
parent fd9b890a94
commit b5adcf2e0e
No known key found for this signature in database

View File

@ -248,6 +248,9 @@ namespace osu.Game.Online.Spectator
isPlaying = false;
currentBeatmap = null;
currentScore = null;
currentScoreProcessor = null;
currentScoreToken = null;
if (state.HasPassed)
currentState.State = SpectatedUserState.Passed;