mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
Give a more correct default value to beatmap and set statuses
This commit is contained in:
@ -46,7 +46,7 @@ namespace osu.Game.Models
|
||||
}
|
||||
|
||||
[MapTo(nameof(Status))]
|
||||
public int StatusInt { get; set; }
|
||||
public int StatusInt { get; set; } = (int)BeatmapOnlineStatus.None;
|
||||
|
||||
[Indexed]
|
||||
public int OnlineID { get; set; } = -1;
|
||||
|
@ -39,7 +39,7 @@ namespace osu.Game.Models
|
||||
}
|
||||
|
||||
[MapTo(nameof(Status))]
|
||||
public int StatusInt { get; set; }
|
||||
public int StatusInt { get; set; } = (int)BeatmapOnlineStatus.None;
|
||||
|
||||
public bool DeletePending { get; set; }
|
||||
|
||||
|
Reference in New Issue
Block a user