mirror of
https://github.com/osukey/osukey.git
synced 2025-07-22 19:00:05 +09:00
Fix beatmaps importing with -1 as online set ID
This commit is contained in:
@ -13,7 +13,13 @@ namespace osu.Game.Beatmaps
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public int ID { get; set; }
|
||||
|
||||
public int? OnlineBeatmapSetID { get; set; }
|
||||
private int? onlineBeatmapSetID;
|
||||
|
||||
public int? OnlineBeatmapSetID
|
||||
{
|
||||
get { return onlineBeatmapSetID; }
|
||||
set { onlineBeatmapSetID = value > 0 ? value : null; }
|
||||
}
|
||||
|
||||
public BeatmapMetadata Metadata { get; set; }
|
||||
|
||||
|
Reference in New Issue
Block a user