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

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