mirror of
https://github.com/ppy/osu
synced 2025-03-25 04:18:03 +00:00
Add non-null assertion to FrameStabilityContainer
This commit is contained in:
parent
58146598c8
commit
95c1b488a7
@ -5,6 +5,7 @@
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Bindables;
|
||||
@ -129,6 +130,8 @@ namespace osu.Game.Rulesets.UI
|
||||
if (parentGameplayClock == null)
|
||||
setClock(); // LoadComplete may not be run yet, but we still want the clock.
|
||||
|
||||
Debug.Assert(parentGameplayClock != null);
|
||||
|
||||
double proposedTime = parentGameplayClock.CurrentTime;
|
||||
|
||||
if (FrameStablePlayback)
|
||||
|
Loading…
Reference in New Issue
Block a user