Skip to content

Commit fbc2af0

Browse files
author
ShinkoNet
committed
fix issue with loading older nbs file versions
1 parent ea51c3f commit fbc2af0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/load_song/load_song.gml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ if (file_ext = ".nbs") {
108108
if (layervol[b] = -1) layervol[b] = 100
109109
layervol[b] = median(0, layervol[b], 100)
110110
if (layervol[b] < 100) realvolume = 1
111-
if nbt_version>=2 {
111+
if song_nbt_version>=2 {
112112
layerstereo[b] = buffer_read_byte()
113113
}
114114
else {

0 commit comments

Comments
 (0)