Merge pull request #452 from Sharkmare/patch-47

Holiday specific Jukebox tracks
This commit is contained in:
Vollybally
2019-02-28 09:59:19 -05:00
committed by GitHub
+2
View File
@@ -36,6 +36,8 @@ var/global/list/all_lobby_tracks = list()
// Read the jukebox configuration file on system startup.
/hook/startup/proc/load_jukebox_tracks()
var/jukebox_track_file = "config/jukebox.json"
if(Holiday == "April Fool's Day")
jukebox_track_file = "config/apriljukebox.json"
if(!fexists(jukebox_track_file))
warning("File not found: [jukebox_track_file]")
return