1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 16:52:54 +08:00

Use -1 as the default preview time globally in metadata

This commit is contained in:
Bartłomiej Dach 2022-01-27 21:51:51 +01:00
parent 1b8136e3e0
commit 6674567af1
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497

View File

@ -39,7 +39,7 @@ namespace osu.Game.Beatmaps
/// The time in milliseconds to begin playing the track for preview purposes.
/// If -1, the track should begin playing at 40% of its length.
/// </summary>
public int PreviewTime { get; set; }
public int PreviewTime { get; set; } = -1;
public string AudioFile { get; set; } = string.Empty;
public string BackgroundFile { get; set; } = string.Empty;