mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Fix system user attempting to show in profile overlay
This commit is contained in:
@ -144,5 +144,14 @@ namespace osu.Game.Users
|
||||
public Badge[] Badges;
|
||||
|
||||
public override string ToString() => Username;
|
||||
|
||||
/// <summary>
|
||||
/// A user instance for displaying locally created system messages.
|
||||
/// </summary>
|
||||
public static User SystemUser { get; } = new User
|
||||
{
|
||||
Username = "system",
|
||||
Id = 0
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user