mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 05:02:55 +08:00
Make OsuJsonDecoder apply defaults similar to OsuLegacyDecoder
This commit is contained in:
parent
f9e34dfa3d
commit
ed5f7e5353
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user