mirror of
https://github.com/ppy/osu
synced 2024-12-11 09:27:08 +00:00
Fix players potentially not displaying in spectator after restart
This commit is contained in:
parent
feef16b09b
commit
f5a5887669
@ -206,6 +206,11 @@ namespace osu.Game.Online.Spectator
|
||||
if (!IsPlaying)
|
||||
return;
|
||||
|
||||
// Disposal could be processed late, leading to EndPlaying potentially being called after a future BeginPlaying call.
|
||||
// Account for this by ensuring the current score matches the score in the provided GameplayState.
|
||||
if (currentScore != state.Score)
|
||||
return;
|
||||
|
||||
if (pendingFrames.Count > 0)
|
||||
purgePendingFrames();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user