1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 11:42:54 +08:00

Add sample path to the lookup names

This commit is contained in:
iiSaLMaN 2019-08-23 14:55:06 +03:00
parent 7b04fb1690
commit b6b050d5e9

View File

@ -17,6 +17,13 @@ namespace osu.Game.Storyboards
public int Volume { get; }
public IEnumerable<string> LookupNames => new[]
{
// Try first with the full name, then attempt with no path
Path,
System.IO.Path.ChangeExtension(Path, null),
};
public StoryboardSampleInfo(string path, double time, int volume)
{
Path = path;