mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Add difficulty application mods
Also fixes circular references when using IJsonSerializable.
This commit is contained in:
@ -52,7 +52,14 @@ namespace osu.Game.Beatmaps
|
||||
{
|
||||
lock (beatmapLock)
|
||||
{
|
||||
return beatmap ?? (beatmap = GetBeatmap());
|
||||
if (beatmap != null) return beatmap;
|
||||
|
||||
beatmap = GetBeatmap();
|
||||
|
||||
// use the database-backed info.
|
||||
beatmap.BeatmapInfo = BeatmapInfo;
|
||||
|
||||
return beatmap;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user