removed nausea from random themes

This commit is contained in:
Jack 2020-07-17 01:34:44 +01:00
parent 8bf682d073
commit a1c165b407

View file

@ -552,7 +552,10 @@ function setTheme(name, nosave) {
}
function randomiseTheme() {
let randomtheme = themesList[Math.floor(Math.random() * themesList.length)];
var randomList = themesList.filter(function (theme) {
return theme.name != "nausea";
});
let randomtheme = randomList[Math.floor(Math.random() * randomList.length)];
setTheme(randomtheme.name, true);
}