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:
parent
17070707b5
commit
cd8b068f4c
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user