diff --git a/osu.Game/Online/Spectator/SpectatorClient.cs b/osu.Game/Online/Spectator/SpectatorClient.cs index 70baf69037..8f22078010 100644 --- a/osu.Game/Online/Spectator/SpectatorClient.cs +++ b/osu.Game/Online/Spectator/SpectatorClient.cs @@ -86,8 +86,6 @@ namespace osu.Game.Online.Spectator private Task? lastSend; - private int totalBundledFrames; - private const int max_pending_frames = 30; [BackgroundDependencyLoader] @@ -169,8 +167,6 @@ namespace osu.Game.Online.Spectator IsPlaying = true; - totalBundledFrames = 0; - // transfer state at point of beginning play currentState.BeatmapID = score.ScoreInfo.BeatmapInfo.OnlineID; currentState.RulesetID = score.ScoreInfo.RulesetID; @@ -277,10 +273,6 @@ namespace osu.Game.Online.Spectator var frames = pendingFrames.ToArray(); var bundle = new FrameDataBundle(currentScore.ScoreInfo, frames); - totalBundledFrames += frames.Length; - - Logger.Log($"Purging {pendingFrames.Count} frames (total {totalBundledFrames})"); - pendingFrames.Clear(); lastPurgeTime = Time.Current;