Rename recent participants

This commit is contained in:
smoogipoo
2020-02-27 19:42:28 +09:00
parent 22862256c1
commit 085968dd7f
4 changed files with 9 additions and 9 deletions

View File

@ -60,7 +60,7 @@ namespace osu.Game.Online.Multiplayer
[Cached]
[JsonProperty("recent_participants")]
public BindableList<User> Participants { get; private set; } = new BindableList<User>();
public BindableList<User> RecentParticipants { get; private set; } = new BindableList<User>();
[Cached]
public Bindable<int> ParticipantCount { get; private set; } = new Bindable<int>();
@ -133,10 +133,10 @@ namespace osu.Game.Online.Multiplayer
Playlist.AddRange(other.Playlist);
}
if (!Participants.SequenceEqual(other.Participants))
if (!RecentParticipants.SequenceEqual(other.RecentParticipants))
{
Participants.Clear();
Participants.AddRange(other.Participants);
RecentParticipants.Clear();
RecentParticipants.AddRange(other.RecentParticipants);
}
Position = other.Position;