mirror of
https://github.com/ppy/osu.git
synced 2025-03-22 22:17:46 +08:00
Don't use null-propagation for status
This commit is contained in:
parent
58d76e9036
commit
bbb28d1b29
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user