Merge pull request #21356 from peppy/standardise-broken-storyboard-paths

Add support for storyboards with incorrect path specifications (`\\` instead of `\`)
This commit is contained in:
Dan Balasescu
2022-11-22 14:33:51 +09:00
committed by GitHub

View File

@ -147,7 +147,11 @@ namespace osu.Game.Beatmaps.Formats
);
}
protected string CleanFilename(string path) => path.Trim('"').ToStandardisedPath();
protected string CleanFilename(string path) => path
// User error which is supported by stable (https://github.com/ppy/osu/issues/21204)
.Replace(@"\\", @"\")
.Trim('"')
.ToStandardisedPath();
public enum Section
{