Remove fallback

This commit is contained in:
Archie
2021-06-21 18:07:14 -03:00
parent 774ea5475d
commit 3e7c52a7d3
2 changed files with 0 additions and 11 deletions
-11
View File
@@ -65,7 +65,6 @@ SUBSYSTEM_DEF(jukeboxes)
/datum/controller/subsystem/jukeboxes/Initialize()
var/list/tracks = flist("config/jukebox_music/sounds/")
var/list/fallbacktracks = flist("config/jukebox_music/fallback/")
var/songID = 1
for(var/S in tracks) // Tracks that will not be in the repo, aka, localhost tracks.
var/datum/track/T = new()
@@ -77,16 +76,6 @@ SUBSYSTEM_DEF(jukeboxes)
T.song_associated_id = songID
songs |= T
songID++
for(var/S in fallbacktracks) // Tracks that will always be in the repo.
var/datum/track/T = new()
T.song_path = file("config/jukebox_music/fallback/[S]")
var/list/L = splittext(S,"+")
T.song_name = L[1]
T.song_length = text2num(L[2])*10 //We multiply it by ten because the system requires it in deciseconds
T.song_beat = (text2num(L[3])/6) //We divide it by six because it requires the Beats per seconds value, but in deciseconds. (Result/60) * 10)
T.song_associated_id = songID
songs |= T
songID++
for(var/i in CHANNEL_JUKEBOX_START to CHANNEL_JUKEBOX)
freejukeboxchannels |= i
return ..()