fall back to .osu file for storyboard if no .osb file is present

+ CI fixes
This commit is contained in:
Aergwyn
2017-12-02 16:05:39 +01:00
parent 2bbfe0dda1
commit cc76c58f5f
5 changed files with 27 additions and 13 deletions

View File

@ -237,9 +237,9 @@ namespace osu.Game.Beatmaps.Formats
}
}
private static string parseLayer(string value) => Enum.Parse(typeof(StoryLayer), value).ToString();
private string parseLayer(string value) => Enum.Parse(typeof(StoryLayer), value).ToString();
private static Anchor parseOrigin(string value)
private Anchor parseOrigin(string value)
{
var origin = (LegacyOrigins)Enum.Parse(typeof(LegacyOrigins), value);
switch (origin)
@ -266,6 +266,6 @@ namespace osu.Game.Beatmaps.Formats
throw new InvalidDataException($@"Unknown origin: {value}");
}
private static string cleanFilename(string path) => FileSafety.PathStandardise(path.Trim('\"'));
private string cleanFilename(string path) => FileSafety.PathStandardise(path.Trim('\"'));
}
}