From 5278236458c82cd6b0a0be6a207dbc3ce689af88 Mon Sep 17 00:00:00 2001 From: smoogipoo Date: Mon, 16 Dec 2019 17:07:30 +0900 Subject: [PATCH] Use invariant ToLower() --- osu.Game/Beatmaps/Formats/LegacyBeatmapEncoder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game/Beatmaps/Formats/LegacyBeatmapEncoder.cs b/osu.Game/Beatmaps/Formats/LegacyBeatmapEncoder.cs index 65edd356d7..d55adfa756 100644 --- a/osu.Game/Beatmaps/Formats/LegacyBeatmapEncoder.cs +++ b/osu.Game/Beatmaps/Formats/LegacyBeatmapEncoder.cs @@ -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;