From 76398f24eff7ea1e1b0a3aeadf4bbac8bde2cc41 Mon Sep 17 00:00:00 2001 From: johndav2 <77751557+Darth-John@users.noreply.github.com> Date: Sat, 19 Apr 2025 22:05:07 -0700 Subject: [PATCH] Fixed Removing Sixth Sense Fixed removing Sixth Sense experience, where an unnecessary input box would be required to remove the selected Sixth Sense. --- .../Tri-Stat_BESM_AP.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dyskami Tri-Stat_BESM_and Absolute Power/Tri-Stat_BESM_AP.html b/Dyskami Tri-Stat_BESM_and Absolute Power/Tri-Stat_BESM_AP.html index cdce1fd81c..a1f6819f4e 100644 --- a/Dyskami Tri-Stat_BESM_and Absolute Power/Tri-Stat_BESM_AP.html +++ b/Dyskami Tri-Stat_BESM_and Absolute Power/Tri-Stat_BESM_AP.html @@ -10833,7 +10833,7 @@ query.options = `|${getTranslationByKey("add")},add`; if (query.db.config[query.config_index].rank.length !== 0) { query.options += '|' + - query.db.config[query.config_index].rank.map((r, i) => r + ',' + i).sort().join("|"); + query.db.config[query.config_index].rank.map((r, i) => r.capitalize() + ',' + i).sort().join("|"); } query.options += `|${getTranslationByKey("exit")},exit`; } @@ -11810,9 +11810,9 @@ case 'sixth sense': if (query.selection === 'exit') { return; } query.env_index = query.selection === 'add' ? -1 : int(query.selection); - query[query.next] = query.selection === 'add' ? - '' : query.db.config[query.config_index].rank[query.env_index]; - query.next = 'add_sixth_sense'; + query[query.next] = '';//query.selection === 'add' ? + //'' : query.db.config[query.config_index].rank[query.env_index]; + query.next = query.env_index === -1 ? 'add_sixth_sense' : 'write_sixth_sense'; break; case 'size change': query.config_index = query.db.config.findIndex(c => c.name === 'size change');