mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 19:52:55 +08:00
Make participant count non-nullable
This commit is contained in:
parent
0c9b1c3a73
commit
5d73359bd7
@ -67,15 +67,8 @@ namespace osu.Game.Online.Multiplayer
|
||||
public readonly BindableList<User> RecentParticipants = new BindableList<User>();
|
||||
|
||||
[Cached]
|
||||
public readonly Bindable<int> ParticipantCount = new Bindable<int>();
|
||||
|
||||
// todo: TEMPORARY
|
||||
[JsonProperty("participant_count")]
|
||||
private int? participantCount
|
||||
{
|
||||
get => ParticipantCount.Value;
|
||||
set => ParticipantCount.Value = value ?? 0;
|
||||
}
|
||||
public readonly Bindable<int> ParticipantCount = new Bindable<int>();
|
||||
|
||||
[JsonProperty("duration")]
|
||||
private int duration
|
||||
|
Loading…
Reference in New Issue
Block a user