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

Move PostProcessing to after control points applied and nested hit objects created.

This commit is contained in:
ekrctb
2018-05-25 16:21:51 +09:00
Unverified
parent 1c947fd3a7
commit 9f2e09dae4
+3 -3
View File
@@ -116,9 +116,6 @@ namespace osu.Game.Beatmaps
mod.ApplyToDifficulty(converted.BeatmapInfo.BaseDifficulty);
}
// Post-process
rulesetInstance.CreateBeatmapProcessor(converted)?.PostProcess();
// Compute default values for hitobjects, including creating nested hitobjects in-case they're needed
foreach (var obj in converted.HitObjects)
obj.ApplyDefaults(converted.ControlPointInfo, converted.BeatmapInfo.BaseDifficulty);
@@ -127,6 +124,9 @@ namespace osu.Game.Beatmaps
foreach (var obj in converted.HitObjects)
mod.ApplyToHitObject(obj);
// Post-process
rulesetInstance.CreateBeatmapProcessor(converted)?.PostProcess();
return converted;
}