1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-23 18:19:53 +08:00

Make OsuJsonDecoder apply defaults similar to OsuLegacyDecoder

This commit is contained in:
smoogipoo
2017-12-06 16:28:34 +09:00
Unverified
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);
}
}
}