mirror of https://github.com/ppy/osu
Add support for storyboards with incorrect path specifications (`\\` instead of `\`)
Closes https://github.com/ppy/osu/issues/21204.
This commit is contained in:
parent
4a79141824
commit
3da21e596a
|
@ -147,7 +147,11 @@ protected KeyValuePair<string, string> SplitKeyVal(string line, char separator =
|
|||
);
|
||||
}
|
||||
|
||||
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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue