mirror of https://github.com/ppy/osu
One more case
This commit is contained in:
parent
a59124dd93
commit
64a32723f3
|
@ -139,7 +139,7 @@ public void CopyFrom(Room other)
|
|||
ParticipantCount.Value = other.ParticipantCount.Value;
|
||||
EndDate.Value = other.EndDate.Value;
|
||||
|
||||
if (DateTimeOffset.Now >= EndDate.Value)
|
||||
if (EndDate.Value != null && DateTimeOffset.Now >= EndDate.Value)
|
||||
Status.Value = new RoomStatusEnded();
|
||||
|
||||
if (!Playlist.SequenceEqual(other.Playlist))
|
||||
|
|
Loading…
Reference in New Issue