Fix tests by creating a score processor

This commit is contained in:
Dan Balasescu
2022-06-03 20:04:20 +09:00
parent 5245995689
commit 68337df643

View File

@ -26,7 +26,10 @@ namespace osu.Game.Tests.Gameplay
var workingBeatmap = new TestWorkingBeatmap(beatmap);
var playableBeatmap = workingBeatmap.GetPlayableBeatmap(ruleset.RulesetInfo, mods);
return new GameplayState(playableBeatmap, ruleset, mods, score);
var scoreProcessor = ruleset.CreateScoreProcessor();
scoreProcessor.ApplyBeatmap(playableBeatmap);
return new GameplayState(playableBeatmap, ruleset, mods, score, scoreProcessor);
}
}
}