Fix StabilityGameClock not being updated

This commit is contained in:
Dean Herbert 2020-10-05 12:47:00 +09:00
parent e4710f82ec
commit ae8bf8cdd4

View File

@ -207,12 +207,16 @@ namespace osu.Game.Rulesets.UI
} }
private void setClock() private void setClock()
{
if (parentGameplayClock == null)
{ {
// in case a parent gameplay clock isn't available, just use the parent clock. // in case a parent gameplay clock isn't available, just use the parent clock.
parentGameplayClock ??= Clock; parentGameplayClock ??= Clock;
}
else
{
Clock = GameplayClock; Clock = GameplayClock;
ProcessCustomClock = false; }
} }
public ReplayInputHandler ReplayInputHandler { get; set; } public ReplayInputHandler ReplayInputHandler { get; set; }