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:
parent
7b04fb1690
commit
b6b050d5e9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user