diff --git a/modular_ss220/jukebox/code/jukebox.dm b/modular_ss220/jukebox/code/jukebox.dm index 2d1bed8e7210..ab2e6502cc4a 100644 --- a/modular_ss220/jukebox/code/jukebox.dm +++ b/modular_ss220/jukebox/code/jukebox.dm @@ -61,6 +61,8 @@ var/datum/track/T = new() T.song_path = file("config/jukebox_music/sounds/[S]") var/list/L = splittext(S,"+") + if(L.len != 3) + continue T.song_name = L[1] T.song_length = text2num(L[2]) T.song_beat = text2num(L[3])