Merge pull request #18985 from andy840119/remove-nullable-disable-in-the-replays

Remove nullable disable annotation in replays namespace
This commit is contained in:
Dan Balasescu
2022-07-03 21:19:36 +09:00
committed by GitHub
20 changed files with 21 additions and 52 deletions

View File

@ -188,7 +188,10 @@ namespace osu.Game.Online.Spectator
}
if (frame is IConvertibleReplayFrame convertible)
{
Debug.Assert(currentBeatmap != null);
pendingFrames.Enqueue(convertible.ToLegacy(currentBeatmap));
}
if (pendingFrames.Count > max_pending_frames)
purgePendingFrames();