mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
Fix tests by creating a score processor
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user