1
0
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:
smoogipoo 2017-12-06 16:28:34 +09:00
parent f9e34dfa3d
commit ed5f7e5353

View File

@ -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);
}
}
}