Remove arbitrary extension limitation from drag and drop imports

`OsuGameBase` already properly handles multiple extensions in the same import.
This commit is contained in:
Susko3 2023-03-19 17:37:49 +01:00
parent 5931e914ed
commit b254dbd7ca
1 changed files with 0 additions and 4 deletions

View File

@ -151,10 +151,6 @@ private void fileDrop(string[] filePaths)
{ {
lock (importableFiles) lock (importableFiles)
{ {
string firstExtension = Path.GetExtension(filePaths.First());
if (filePaths.Any(f => Path.GetExtension(f) != firstExtension)) return;
importableFiles.AddRange(filePaths); importableFiles.AddRange(filePaths);
Logger.Log($"Adding {filePaths.Length} files for import"); Logger.Log($"Adding {filePaths.Length} files for import");