Compare commits

..

No commits in common. "7d2d25b8c7e5f0062fcb416e3e1e089f9f32d1f2" and "86efedf43af7ae5a91d62a1a2e6969a159f4eafe" have entirely different histories.

3 changed files with 4 additions and 10 deletions

View File

@ -142,7 +142,7 @@ function buildQuestSelectList() {
let tl_key = utage.questTranslations[cust][q.QuestMstId];
if (!tl_key) {
console.log("Failed to build quest list: missing translations");
continue;
return;
}
if (!tl_key.Enabled && !utage.quests[cust][q.QuestMstId].Scenes.some((s) => { return utage.sceneTranslations[cust][s].Enabled === true })) {
continue;
@ -191,7 +191,7 @@ function buildSceneSelectList() {
let tl_key = utage.sceneTranslations[cust][questSceneMstId];
if (!tl_key) {
console.log("Failed to build scene list: missing translations");
continue;
return;
}
if (!tl_key.Enabled) {
continue;

@ -1 +1 @@
Subproject commit 4e3efff1afd08fc1022862c1d91b8aa0dd6636a1
Subproject commit 06a52db84c21ce7e584a493cc278bb6e29e940cc

View File

@ -141,13 +141,7 @@ class UtageInfo {
for (const k of Object.keys(this.questTranslationsInner[this.currentTranslation][c])) {
if (this.questTranslationsInner[this.currentTranslation][c][k].Enabled) {
for (const s of this.quests[c][k].Scenes) {
// only propagate if exists in translation file (THANKS GLOBAL) and translated name is supplied
if (c in this.sceneTranslationsInner[this.currentTranslation]
&& s in this.sceneTranslationsInner[this.currentTranslation][c]
&& this.sceneTranslationsInner[this.currentTranslation][c][s].Name != "") {
console.log(this.sceneTranslationsInner[this.currentTranslation][c][s]);
this.sceneTranslationsInner[this.currentTranslation][c][s].Enabled = true;
}
this.sceneTranslationsInner[this.currentTranslation][c][s].Enabled = true;
}
}
}