Fix `GameplayClockContainer potentially resetting external seeks

This commit is contained in:
Dean Herbert
2022-08-18 18:10:20 +09:00
parent 728cd96508
commit 2c6fd1ec6e
5 changed files with 10 additions and 22 deletions

View File

@ -281,7 +281,7 @@ namespace osu.Game.Rulesets.UI
}
}
public double? StartTime => parentGameplayClock?.StartTime;
public double StartTime => parentGameplayClock?.StartTime ?? 0;
public IEnumerable<double> NonGameplayAdjustments => parentGameplayClock?.NonGameplayAdjustments ?? Enumerable.Empty<double>();