Replace many more calls to CreateAllMods with more specific calls

This commit is contained in:
Dean Herbert
2021-09-10 12:00:41 +09:00
parent 76e877f160
commit 9cf79a80c2
4 changed files with 8 additions and 9 deletions

View File

@ -45,7 +45,7 @@ namespace osu.Game.Tournament.Tests.Components
private void success(APIBeatmap apiBeatmap)
{
beatmap = apiBeatmap.ToBeatmap(rulesets);
var mods = rulesets.GetRuleset(Ladder.Ruleset.Value.ID ?? 0).CreateInstance().CreateAllMods();
var mods = rulesets.GetRuleset(Ladder.Ruleset.Value.ID ?? 0).CreateInstance().AllMods;
foreach (var mod in mods)
{