Skip to content

Commit

Permalink
Adding music without config
Browse files Browse the repository at this point in the history
Task from Iajret
  • Loading branch information
FeenieRU committed Nov 21, 2024
1 parent c6d8cd9 commit 0b5564c
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 2 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 2 additions & 2 deletions tff_modular/modules/bar_jukebox/code/jukebox_subsystem.dm
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ SUBSYSTEM_DEF(jukeboxes)

/datum/controller/subsystem/jukeboxes/proc/reload_songs()
songs = list()
var/list/tracks = flist("[global.config.directory]/jukebox_music/sounds/")
var/list/tracks = flist("tff_modular/master_files/content/jukebox_music/")
for(var/S in tracks)
var/datum/track/T = new()
T.song_path = file("[global.config.directory]/jukebox_music/sounds/[S]")
T.song_path = file("tff_modular/master_files/content/jukebox_music/[S]")
var/list/L = splittext(S,"+")
if(L.len != 4)
continue
Expand Down

0 comments on commit 0b5564c

Please sign in to comment.