Update all cinema/autoplay mods to specify the system user ID

This commit is contained in:
Dean Herbert
2022-03-28 22:21:23 +09:00
parent a0692ce477
commit d2d88015e3
12 changed files with 84 additions and 12 deletions

View File

@ -15,7 +15,14 @@ namespace osu.Game.Rulesets.Catch.Mods
{
public override Score CreateReplayScore(IBeatmap beatmap, IReadOnlyList<Mod> mods) => new Score
{
ScoreInfo = new ScoreInfo { User = new APIUser { Username = "osu!salad" } },
ScoreInfo = new ScoreInfo
{
User = new APIUser
{
Id = APIUser.SYSTEM_USER_ID,
Username = "osu!salad"
}
},
Replay = new CatchAutoGenerator(beatmap).Generate(),
};
}