Merge branch 'master' into legacy-beatmap-saving

This commit is contained in:
Dean Herbert
2019-12-18 17:17:03 +09:00
committed by GitHub
141 changed files with 1470 additions and 383 deletions

View File

@ -34,7 +34,7 @@ namespace osu.Game.Beatmaps.Formats
if (line.StartsWith(@"[", StringComparison.Ordinal) && line.EndsWith(@"]", StringComparison.Ordinal))
{
if (!Enum.TryParse(line.Substring(1, line.Length - 2), out section))
if (!Enum.TryParse(line[1..^1], out section))
{
Logger.Log($"Unknown section \"{line}\" in \"{output}\"");
section = Section.None;