mirror of
https://github.com/ppy/osu
synced 2025-02-25 23:21:26 +00:00
Merge pull request #1353 from huoyaoyuan/fix
Ignore filename case in BeatmapManager
This commit is contained in:
commit
e83cb91185
@ -550,7 +550,7 @@ namespace osu.Game.Beatmaps
|
|||||||
catch { return null; }
|
catch { return null; }
|
||||||
}
|
}
|
||||||
|
|
||||||
private string getPathForFile(string filename) => BeatmapSetInfo.Files.First(f => f.Filename == filename).FileInfo.StoragePath;
|
private string getPathForFile(string filename) => BeatmapSetInfo.Files.First(f => string.Equals(f.Filename, filename, StringComparison.InvariantCultureIgnoreCase)).FileInfo.StoragePath;
|
||||||
|
|
||||||
protected override Texture GetBackground()
|
protected override Texture GetBackground()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user