1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-06 21:02:59 +08:00

Fix BeatmapMetadata not using its user param correctly

This commit is contained in:
Bartłomiej Dach 2022-02-01 21:16:28 +01:00
parent 2c0c44a950
commit 3d7af805a3
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497

View File

@ -46,7 +46,7 @@ namespace osu.Game.Beatmaps
public BeatmapMetadata(RealmUser? user = null) public BeatmapMetadata(RealmUser? user = null)
{ {
Author = new RealmUser(); Author = user ?? new RealmUser();
} }
[UsedImplicitly] // Realm [UsedImplicitly] // Realm