1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-13 16:47:46 +08:00

Add fallback case to CountryExtensions.GetAcronym

This commit is contained in:
Dean Herbert 2023-10-25 13:01:23 +09:00
parent 17070707b5
commit cd8b068f4c
No known key found for this signature in database

View File

@ -1,7 +1,6 @@
// 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.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();
}
}
}