mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 09:43:10 +08:00
Use invariant ToLower()
This commit is contained in:
parent
27150d6bbc
commit
5278236458
@ -372,7 +372,7 @@ namespace osu.Game.Beatmaps.Formats
|
|||||||
|
|
||||||
private LegacySampleBank toLegacySampleBank(string sampleBank)
|
private LegacySampleBank toLegacySampleBank(string sampleBank)
|
||||||
{
|
{
|
||||||
switch (sampleBank?.ToLower())
|
switch (sampleBank?.ToLowerInvariant())
|
||||||
{
|
{
|
||||||
case "normal":
|
case "normal":
|
||||||
return LegacySampleBank.Normal;
|
return LegacySampleBank.Normal;
|
||||||
|
Loading…
Reference in New Issue
Block a user