Fix files with upper-case extensions failing to import correctly

This commit is contained in:
Dean Herbert
2018-09-23 05:23:49 +09:00
parent 5e51a50658
commit 6efecc4b35
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ namespace osu.Game.IPC
return;
}
if (importer.HandledExtensions.Contains(Path.GetExtension(path)))
if (importer.HandledExtensions.Contains(Path.GetExtension(path)?.ToLower()))
importer.Import(path);
}
}