Skip to content

Commit 68496ee

Browse files
committed
fix: remove file extension on songs downloaded from protocol
1 parent 26c6288 commit 68496ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/download_song_from_url/download_song_from_url.gml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function download_song_from_url() {
6464
show_debug_message(override_fn);
6565
load_song(song_download_file, true); // load as backup file (keep unsaved, don't add to recent etc.)
6666
if (override_fn != "") {
67-
song_download_display_name = override_fn; // override title bar display name
67+
song_download_display_name = filename_change_ext(override_fn, ""); // override title bar display name
6868
}
6969
files_delete_lib(song_download_file);
7070
} else {

0 commit comments

Comments
 (0)