Skip to content

Commit

Permalink
Fix: Invalid chars in DLed files being removed instead of being repla…
Browse files Browse the repository at this point in the history
…ced by _
  • Loading branch information
Piotrekol committed Feb 23, 2022
1 parent 07ab517 commit 0a79641
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion App/OsuDownloadManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ private DownloadItem GetDownloadItem(Beatmap beatmap)
private string CreateFileName(Beatmap map)
{
var filename = map.MapSetId + " " + map.ArtistRoman + " - " + map.TitleRoman;
return Helpers.StripInvalidFileNameCharacters(filename) + ".osz";
return Helpers.StripInvalidFileNameCharacters(filename, "_") + ".osz";
}
}
}

0 comments on commit 0a79641

Please sign in to comment.