1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 21:02:55 +08:00

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()
{
// in case a parent gameplay clock isn't available, just use the parent clock.
parentGameplayClock ??= Clock;
Clock = GameplayClock;
ProcessCustomClock = false;
if (parentGameplayClock == null)
{
// in case a parent gameplay clock isn't available, just use the parent clock.
parentGameplayClock ??= Clock;
}
else
{
Clock = GameplayClock;
}
}
public ReplayInputHandler ReplayInputHandler { get; set; }