mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09: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:
@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user