Skip to content

Commit b86616e

Browse files
committed
Fix crash when removing custom ins with notes selected
1 parent fc21d23 commit b86616e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

scripts/instrument_remove/instrument_remove.gml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
function instrument_remove(ins) {
2+
selection_place(0)
23
if (songs[song].instrument_list[| ds_list_find_index(songs[song].instrument_list, ins)].name == "Tempo Changer") songs[song].tempo_changes = [[0, 10]]
34
for (a = 0; a <= songs[song].enda; a += 1) {
45
if (songs[song].colamount[a] > 0) {

0 commit comments

Comments
 (0)