enable-guard play all

This commit is contained in:
louis f 2019-05-17 18:53:17 -04:00
parent 0d522b55c5
commit 9dc0c8f9cf

View File

@ -263,9 +263,14 @@ function sceneDropDownChanged(event) {
let scene = utage.quests[cust][questMstId].Scenes; let scene = utage.quests[cust][questMstId].Scenes;
resetPlaylist(); resetPlaylist();
for (const s of scene) { for (const s of scene) {
let tl_key = utage.sceneTranslations[cust][s];
if (tl_key) {
if (utage.sceneTranslations[cust][s].Enabled) {
utage.scenes[cust][s]['QuestSceneMstId'] = s; utage.scenes[cust][s]['QuestSceneMstId'] = s;
scenePlaylist.push(utage.scenes[cust][s]); scenePlaylist.push(utage.scenes[cust][s]);
} }
}
}
playNext(); playNext();
return; return;
} }