Skip to content

Commit

Permalink
Fix bug when dropping all invalid files
Browse files Browse the repository at this point in the history
  • Loading branch information
innocenat committed Jun 2, 2021
1 parent eb46a23 commit d9e2cd9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/game/controller/2-menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ export default class MenuController {
}
}

this.signal_drop(results)
if (results.length > 0)
this.signal_drop(results)
}

async importSong (filename, url) {
Expand Down

0 comments on commit d9e2cd9

Please sign in to comment.