1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 18:23:04 +08:00

Add logging of GameplayClockContainer seeks

This commit is contained in:
Dean Herbert 2022-06-28 15:23:29 +09:00
parent 35745c83b7
commit 6bfd351dec

View File

@ -8,6 +8,7 @@ using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Logging;
using osu.Framework.Timing;
namespace osu.Game.Screens.Play
@ -101,6 +102,8 @@ namespace osu.Game.Screens.Play
/// <param name="time">The destination time to seek to.</param>
public virtual void Seek(double time)
{
Logger.Log($"{nameof(GameplayClockContainer)} seeking to {time}");
AdjustableSource.Seek(time);
// Manually process to make sure the gameplay clock is correctly updated after a seek.