You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (draw_checkbox(x1 + 40, y1 + 325, show_oldwarning, "Show warning when opening older songs", "Whether to show a warning when opening a song\nsaved in an older version of Note Block Studio.")) show_oldwarning = !show_oldwarning
Copy file name to clipboardExpand all lines: scripts/load_song/load_song.gml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ function load_song() {
36
36
37
37
if (byte1 = 0 && byte2 = 0) {
38
38
song_nbs_version = buffer_read_byte()
39
-
if song_nbs_version < nbs_version message("Warning: You are opening an older NBS file. Saving this file will make it incompatible with older Note Block Studio versions.","Warning")
39
+
if(show_oldwarning && song_nbs_version < nbs_version)message("Warning: You are opening an older NBS file. Saving this file will make it incompatible with older Note Block Studio versions.","Warning")
40
40
if song_nbs_version > nbs_version {
41
41
message("Warning: You are opening an NBS file created in a later version of Note Block Studio.\nPlease save the song as a version " + string(nbs_version) + " file or lower via the Save Options menu.","Error")
0 commit comments