autocorrect toggle

This commit is contained in:
QuoteFox
2021-02-07 02:57:51 +00:00
parent 9e2480fc95
commit 3d761e4b5f
4 changed files with 12 additions and 1 deletions
+4 -1
View File
@@ -174,7 +174,10 @@ GLOBAL_LIST_INIT(department_radio_keys, list(
src.log_talk(message, LOG_SAY, forced_by=forced)
message = treat_message(message) // unfortunately we still need this
message = autocorrect(message)
if(client?.prefs.autocorrect)
message = autocorrect(message)
var/sigreturn = SEND_SIGNAL(src, COMSIG_MOB_SAY, args)
if (sigreturn & COMPONENT_UPPERCASE_SPEECH)
message = uppertext(message)