mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 06:36:31 +09:00
Centralise TrackManager.AddItem logic to avoid duplicate adds
This commit is contained in:
@ -119,10 +119,7 @@ namespace osu.Game.Screens.Play
|
||||
Track track = Beatmap.Value.Track;
|
||||
|
||||
if (track != null)
|
||||
{
|
||||
audio.Track.AddItem(track);
|
||||
adjustableSourceClock = track;
|
||||
}
|
||||
|
||||
adjustableSourceClock = (IAdjustableClock)track ?? new StopwatchClock();
|
||||
|
||||
|
Reference in New Issue
Block a user