mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 18:03:11 +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:
parent
4a79141824
commit
3da21e596a
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user