mirror of
https://github.com/ppy/osu.git
synced 2026-05-19 12:00:05 +08:00
Actually throw error instead of weirdly using white
This commit is contained in:
@@ -147,7 +147,7 @@ namespace osu.Game.Screens.SelectV2
|
||||
var group = (RankedStatusGroupDefinition)Item.Model;
|
||||
BeatmapOnlineStatus status = group.Status;
|
||||
|
||||
statusColour = OsuColour.ForBeatmapSetOnlineStatus(status) ?? Color4.White;
|
||||
statusColour = OsuColour.ForBeatmapSetOnlineStatus(status) ?? throw new ArgumentOutOfRangeException(nameof(status), status, null);
|
||||
|
||||
switch (status)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user