mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 09:17:51 +08:00
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:
commit
985781bc3b
@ -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