1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 15:03:13 +08:00

Throw instead of silently returning.

This commit is contained in:
Lucas A 2021-07-17 16:40:37 +02:00
parent 2545275f71
commit a7c280508f

View File

@ -1,6 +1,7 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Bindables;
using osu.Framework.Extensions.Color4Extensions;
using osu.Framework.Graphics;
@ -127,7 +128,7 @@ namespace osu.Game.Overlays.Profile
return LayoutStrings.HeaderUsersModding;
default:
return string.Empty;
throw new ArgumentOutOfRangeException(nameof(value), value, null);
}
}
}