1
0
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:
smoogipoo 2021-08-12 09:14:46 +09:00
parent 58d76e9036
commit bbb28d1b29

View File

@ -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;
}
}
}