mirror of
https://gitgud.io/BondageProjects/Bondage-College.git
synced 2025-04-25 17:59:34 +00:00
BUG: Fix the client failing to send garbling chat messages
This commit is contained in:
parent
963097b98b
commit
313c44706e
1 changed files with 2 additions and 6 deletions
|
@ -3169,12 +3169,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
|
||||
|
|
Loading…
Add table
Reference in a new issue