1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-18 03:33:39 +08:00

Add support for storyboards with incorrect path specifications (\\ instead of \)

Closes https://github.com/ppy/osu/issues/21204.
This commit is contained in:
Dean Herbert
2022-11-21 16:06:36 +09:00
Unverified
parent 4a79141824
commit 3da21e596a
+5 -1
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
{