mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 13:37:25 +08:00
Some rulesets don't have a beatmap processor
This commit is contained in:
parent
5e66b02108
commit
8d0e7abdd6
@ -86,7 +86,7 @@ namespace osu.Game.Tests.Beatmaps
|
||||
var result = new ConvertResult();
|
||||
var converter = rulesetInstance.CreateBeatmapConverter(beatmap);
|
||||
|
||||
List<KeyValuePair<HitObject, IEnumerable<HitObject>>> conversions = new List<KeyValuePair<HitObject, IEnumerable<HitObject>>>();
|
||||
var conversions = new List<KeyValuePair<HitObject, IEnumerable<HitObject>>>();
|
||||
|
||||
converter.ObjectConverted += (orig, converted) =>
|
||||
{
|
||||
@ -95,7 +95,7 @@ namespace osu.Game.Tests.Beatmaps
|
||||
};
|
||||
|
||||
IBeatmap convertedBeatmap = converter.Convert();
|
||||
rulesetInstance.CreateBeatmapProcessor(convertedBeatmap).PostProcess();
|
||||
rulesetInstance.CreateBeatmapProcessor(convertedBeatmap)?.PostProcess();
|
||||
|
||||
foreach (var pair in conversions)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user