Fix duplication and scenario override for first in the list

83e75439abd84ab6433d7070b530c0ad04d08211

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +2 -2Ignore whitespace
public/script.js+2 -2
@@ -5309,7 +5309,7 @@ function addChatsSeparator(mesSendString) {
53095309}
53105310
53115311async function duplicateCharacter() {
53125312 if (this_chid === undefined || !characters[this_chid]) {
53135313 toastr.warning(t`You must first select a character to duplicate!`);
53145314 return '';
53155315 }
@@ -7883,7 +7883,7 @@ function updateFavButtonState(state) {
78837883}
78847884
78857885export async function setScenarioOverride() {
78867886 if (!selected_group && (this_chid === undefined || !characters[this_chid])) {
78877887 console.warn('setScenarioOverride() -- no selected group or character');
78887888 return;
78897889 }