mirror of
https://github.com/osukey/osukey.git
synced 2025-08-08 00:53:56 +09:00
Avoid adding null users to RecentParticipants
This commit is contained in:
@ -401,7 +401,11 @@ namespace osu.Game.Online.Multiplayer
|
||||
{
|
||||
Debug.Assert(APIRoom != null);
|
||||
|
||||
APIRoom.RecentParticipants.Add(user.User);
|
||||
APIRoom.RecentParticipants.Add(user.User ?? new User
|
||||
{
|
||||
Id = user.UserID,
|
||||
Username = "[Unresolved]"
|
||||
});
|
||||
APIRoom.ParticipantCount.Value++;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user