fix neutral avatar again

This commit is contained in:
Wolfsblvt 2024-09-10 20:02:26 +02:00
parent a989ccf318
commit d21b24666a
1 changed files with 1 additions and 1 deletions

View File

@ -3131,7 +3131,7 @@ export async function sendMessageAs(args, text) {
let force_avatar, original_avatar;
const chatCharacter = this_chid !== null ? characters[this_chid] : null;
const isNeutralCharacter = !chatCharacter && name2 === neutralCharacterName;
const isNeutralCharacter = !chatCharacter && name2 === neutralCharacterName && name === neutralCharacterName;
if (chatCharacter === character || isNeutralCharacter) {
// If the targeted character is the currently selected one in a solo chat, we don't need to force any avatars