Skip to content

Commit 56d5139

Browse files
committed
fix: Fix solo layers not taken into account when loaded from file
1 parent ad8723e commit 56d5139

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

scripts/load_song/load_song.gml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,9 @@ function load_song() {
146146
text_laststr[400 + b] = "-"
147147
if song_nbs_version >= 4 && string_count("format4beta", filename_name(fn)) != 1 {
148148
layerlock[b] = buffer_read_byte()
149+
if (layerlock[b] == 2) {
150+
solostr += "|" + string(b) + "|"
151+
}
149152
}
150153
else layerlock[b] = 0
151154
layervol[b] = buffer_read_byte()

0 commit comments

Comments
 (0)