mirror of https://github.com/ppy/osu
Fix SpectatorClient holding references to Player
This commit is contained in:
parent
fd9b890a94
commit
b5adcf2e0e
|
@ -248,6 +248,9 @@ public void EndPlaying(GameplayState state)
|
|||
|
||||
isPlaying = false;
|
||||
currentBeatmap = null;
|
||||
currentScore = null;
|
||||
currentScoreProcessor = null;
|
||||
currentScoreToken = null;
|
||||
|
||||
if (state.HasPassed)
|
||||
currentState.State = SpectatedUserState.Passed;
|
||||
|
|
Loading…
Reference in New Issue