1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 17:35:10 +08:00

Update WorkingBeatmap.cs

This commit is contained in:
NotGumballer91 2022-10-11 01:48:55 +08:00 committed by GitHub
parent 9a3689b6e9
commit 3cd6ce8e3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,7 +110,7 @@ namespace osu.Game.Beatmaps
public Track LoadTrack() => track = GetBeatmapTrack() ?? GetVirtualTrack(1000);
public void PrepareTrackForPreview(bool looping, int priorToPreview = 2000)
public void PrepareTrackForPreview(bool looping, int priorToPreview = 0)
{
Track.Looping = looping;
Track.RestartPoint = Metadata.PreviewTime - priorToPreview;