Merge branch 'garbling' into 'master'

BETA: Fix the client failing to send garbling chat messages

See merge request 
This commit is contained in:
BondageProjects 2025-04-12 17:02:42 +00:00
commit e8f29f1fa9

View file

@ -3157,12 +3157,8 @@ function ChatRoomGenerateChatRoomChatMessage(type, msg, replyId) {
}
// Chat messages are always garbled, unless the no speech restriction is lifted
let process = {
effects: [],
text: msg,
};
process = SpeechTransformProcess(Player, msg, SpeechTransformSenderEffects);
const process = SpeechTransformProcess(Player, msg, SpeechTransformSenderEffects);
msg = process.text;
// We always garble, but if "no speech garbling" is enabled,
// we also send down the ungarbled message if it's different