Created
February 20, 2019 21:20
-
-
Save palikhov/f393f6dd02c45eff91745cd6a8cf39b5 to your computer and use it in GitHub Desktop.
Console script: clear jukebox
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(){ | |
while(Jukebox.playlist.length) { | |
Jukebox.playlist.models[0].destroy(); | |
} | |
d20.Campaign.save({jukeboxfolder: ""}); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment