[MIRROR] TGUI Say no longer deletes your currently typed message on history [MDB IGNORE] (#14596)

* TGUI Say no longer deletes your currently typed message on history (#67971)

first commit

* TGUI Say no longer deletes your currently typed message on history

Co-authored-by: Jeremiah <42397676+jlsnow301@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-06-28 17:24:14 +01:00
committed by GitHub
co-authored by Jeremiah
parent 01603b7503
commit c48d0711e8
11 changed files with 62 additions and 41 deletions
+5 -5
View File
@@ -31,18 +31,18 @@
* boolean - on success or failure
*/
/datum/tgui_say/proc/delegate_speech(entry, channel)
if(channel == OOC_CHANNEL)
client.ooc(entry)
return TRUE
switch(channel)
if(SAY_CHANNEL)
client.mob.say_verb(entry)
return TRUE
if(RADIO_CHANNEL)
client.mob.say_verb(";" + entry)
return TRUE
if(ME_CHANNEL)
client.mob.me_verb(entry)
return TRUE
if(SAY_CHANNEL)
client.mob.say_verb(entry)
if(OOC_CHANNEL)
client.ooc(entry)
return TRUE
return FALSE