mirror of
https://github.com/ppy/osu
synced 2025-03-22 10:56:54 +00:00
Merge pull request #20076 from peppy/fix-beat-sync-after-beatmap-change
Fix beat sync components stopping after beatmap change
This commit is contained in:
commit
9024b57760
@ -390,6 +390,11 @@ namespace osu.Game
|
|||||||
var framedClock = new FramedClock(beatmap.Track);
|
var framedClock = new FramedClock(beatmap.Track);
|
||||||
|
|
||||||
beatmapClock.ChangeSource(framedClock);
|
beatmapClock.ChangeSource(framedClock);
|
||||||
|
|
||||||
|
// Normally the internal decoupled clock will seek the *track* to the decoupled time, but we blocked this.
|
||||||
|
// It won't behave nicely unless we also set it to the track's time.
|
||||||
|
// Probably another thing which should be fixed in the decoupled mess (or just replaced).
|
||||||
|
beatmapClock.Seek(beatmap.Track.CurrentTime);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected virtual void InitialiseFonts()
|
protected virtual void InitialiseFonts()
|
||||||
|
Loading…
Reference in New Issue
Block a user