Take user argument in CreateNew method parameters

This commit is contained in:
Dean Herbert
2020-09-04 13:17:43 +09:00
parent d3fbc7cc53
commit fba253f131
3 changed files with 6 additions and 6 deletions

View File

@ -98,8 +98,7 @@ namespace osu.Game.Screens.Edit
if (Beatmap.Value is DummyWorkingBeatmap)
{
isNewBeatmap = true;
Beatmap.Value = beatmapManager.CreateNew(Ruleset.Value);
Beatmap.Value.BeatmapSetInfo.Metadata.Author = api.LocalUser.Value;
Beatmap.Value = beatmapManager.CreateNew(Ruleset.Value, api.LocalUser.Value);
}
try