1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 09:32:55 +08:00

Merge pull request #27778 from smoogipoo/fix-spectator-player-rentention

Fix SpectatorClient holding references to Player
This commit is contained in:
Bartłomiej Dach 2024-04-03 11:30:34 +02:00 committed by GitHub
commit 3b7d427c52
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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;