Browse Source

continue playing scene after selecting specific part

tags/v1.3.0
louis f 5 years ago
parent
commit
5dba520155
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      Js/Main.js

+ 6
- 1
Js/Main.js View File

@@ -352,8 +352,13 @@ function sceneSet(questSceneMstId, cust) {
if (part === '{All}') {
scenePlaylist.push(utage.scenes[cust][questSceneMstId]);
} else {
partPlaylist.push(part);
currentScene = utage.scenes[cust][questSceneMstId];
try {
partPlaylist.push.apply(partPlaylist, currentScene.Parts.slice(currentScene.Parts.indexOf(part)));
} catch (error) {
console.log(error);
return;
}
}

playNext();


Loading…
Cancel
Save