Give a more correct default value to beatmap and set statuses

This commit is contained in:
Dean Herbert
2021-11-24 18:48:12 +09:00
parent 052ed8f930
commit 61009013cc
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ namespace osu.Game.Models
} }
[MapTo(nameof(Status))] [MapTo(nameof(Status))]
public int StatusInt { get; set; } public int StatusInt { get; set; } = (int)BeatmapOnlineStatus.None;
[Indexed] [Indexed]
public int OnlineID { get; set; } = -1; public int OnlineID { get; set; } = -1;

View File

@ -39,7 +39,7 @@ namespace osu.Game.Models
} }
[MapTo(nameof(Status))] [MapTo(nameof(Status))]
public int StatusInt { get; set; } public int StatusInt { get; set; } = (int)BeatmapOnlineStatus.None;
public bool DeletePending { get; set; } public bool DeletePending { get; set; }