mirror of
https://github.com/ppy/osu
synced 2025-03-01 17:11:12 +00:00
Move PostProcessing to after control points applied and nested hit objects created.
This commit is contained in:
parent
1c947fd3a7
commit
9f2e09dae4
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user