Allow OsuModGenerator to accept a mod list

This commit is contained in:
Bartłomiej Dach
2021-01-31 17:59:35 +01:00
parent 7daeacaff2
commit 3fabe247b0
6 changed files with 13 additions and 9 deletions

View File

@ -70,7 +70,7 @@ namespace osu.Game.Rulesets.Osu.Tests
public override Score CreateReplayScore(IBeatmap beatmap, IReadOnlyList<Mod> mods) => new Score
{
ScoreInfo = new ScoreInfo { User = new User { Username = "Autoplay" } },
Replay = new MissingAutoGenerator(beatmap).Generate()
Replay = new MissingAutoGenerator(beatmap, mods).Generate()
};
}
@ -78,8 +78,8 @@ namespace osu.Game.Rulesets.Osu.Tests
{
public new OsuBeatmap Beatmap => (OsuBeatmap)base.Beatmap;
public MissingAutoGenerator(IBeatmap beatmap)
: base(beatmap)
public MissingAutoGenerator(IBeatmap beatmap, IReadOnlyList<Mod> mods)
: base(beatmap, mods)
{
}