mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 23:53:51 +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))]
|
[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;
|
||||||
|
@ -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; }
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user