fix neutral avatar again

d21b24666aecb6ac8449d400d5ab45f9d84604b1

Wolfsblvt <wolfsblvt@gmail.com>

1 files changed, +1 -1Ignore whitespace
public/scripts/slash-commands.js+1 -1
@@ -3131,7 +3131,7 @@ export async function sendMessageAs(args, text) {
3131 let force_avatar, original_avatar;3131 let force_avatar, original_avatar;
31323132
3133 const chatCharacter = this_chid !== null ? characters[this_chid] : null;3133 const chatCharacter = this_chid !== null ? characters[this_chid] : null;
3134 const isNeutralCharacter = !chatCharacter && name2 === neutralCharacterName;3134 const isNeutralCharacter = !chatCharacter && name2 === neutralCharacterName && name === neutralCharacterName;
31353135
3136 if (chatCharacter === character || isNeutralCharacter) {3136 if (chatCharacter === character || isNeutralCharacter) {
3137 // If the targeted character is the currently selected one in a solo chat, we don't need to force any avatars3137 // If the targeted character is the currently selected one in a solo chat, we don't need to force any avatars