1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 22:22:55 +08:00

Use invariant ToLower()

This commit is contained in:
smoogipoo 2019-12-16 17:07:30 +09:00
parent 27150d6bbc
commit 5278236458

View File

@ -372,7 +372,7 @@ namespace osu.Game.Beatmaps.Formats
private LegacySampleBank toLegacySampleBank(string sampleBank)
{
switch (sampleBank?.ToLower())
switch (sampleBank?.ToLowerInvariant())
{
case "normal":
return LegacySampleBank.Normal;