mirror of
https://github.com/osukey/osukey.git
synced 2025-08-01 21:58:46 +09:00
Make OsuJsonDecoder apply defaults similar to OsuLegacyDecoder
This commit is contained in:
@ -20,6 +20,9 @@ namespace osu.Game.Beatmaps.Formats
|
||||
|
||||
string fullText = stream.ReadToEnd();
|
||||
fullText.DeserializeInto(beatmap);
|
||||
|
||||
foreach (var hitObject in beatmap.HitObjects)
|
||||
hitObject.ApplyDefaults(beatmap.ControlPointInfo, beatmap.BeatmapInfo.BaseDifficulty);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user