Skip to content

Commit 9aef45f

Browse files
committed
Add "Instruments" to the filename of exported instruments ZIP
1 parent bec8645 commit 9aef45f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/pack_instruments/pack_instruments.gml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
// https://help.yoyogames.com/hc/en-us/articles/360005277377 for more information
33
function pack_instruments() {
44
var fn, tempdir, ins, src, dst, count;
5-
fn = string(get_save_filename_ext("ZIP archive (*.zip)|*.zip", condstr(song_name == "", song_name, "*") + ".zip", "", "Pack instruments to ZIP file"));
5+
show_debug_message(song_name)
6+
fn = string(get_save_filename_ext("ZIP archive (*.zip)|*.zip", condstr(filename == "", "", filename_change_ext(filename, "") + " - ") + "Instruments.zip", "", "Pack instruments to ZIP file"));
67
if (fn = "") return 0;
78

89
tempdir = data_directory + "Temp\\";

0 commit comments

Comments
 (0)