From cd8b068f4c42097daa53e3fb19fd4d35eb6b65a1 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Wed, 25 Oct 2023 13:01:23 +0900 Subject: [PATCH] Add fallback case to `CountryExtensions.GetAcronym` --- osu.Game.Tournament/CountryExtensions.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/osu.Game.Tournament/CountryExtensions.cs b/osu.Game.Tournament/CountryExtensions.cs index f2a583c8a5..b47c3f18ce 100644 --- a/osu.Game.Tournament/CountryExtensions.cs +++ b/osu.Game.Tournament/CountryExtensions.cs @@ -1,7 +1,6 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -using System; using osu.Game.Users; namespace osu.Game.Tournament @@ -763,7 +762,7 @@ namespace osu.Game.Tournament return "MOZ"; default: - throw new ArgumentOutOfRangeException(nameof(country)); + return country.ToString(); } } }