mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 15:44:04 +09:00
Don't use null-propagation for status
This commit is contained in:
@ -68,7 +68,7 @@ namespace osu.Game.Screens.OnlinePlay.Lounge.Components
|
||||
if (EndDate.Value < DateTimeOffset.Now)
|
||||
return new RoomStatusEnded();
|
||||
|
||||
return Status.Value ?? new RoomStatusOpen();
|
||||
return Status.Value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user