autocorrect

This commit is contained in:
QuoteFox
2021-02-07 02:29:18 +00:00
parent 5480cd9700
commit 9e2480fc95
2 changed files with 41 additions and 0 deletions
+1
View File
@@ -174,6 +174,7 @@ 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)
var/sigreturn = SEND_SIGNAL(src, COMSIG_MOB_SAY, args)
if (sigreturn & COMPONENT_UPPERCASE_SPEECH)
message = uppertext(message)