It's a feature now - makes it plausible to use custom say verbs in place of emotes (allows proper non-buggy emotes over radio) (#7378)

* it's a feature now - makes it plausible to use custom say verbs in place of emotes

* Makes the thing actually drop the , ""
This commit is contained in:
deathride58
2018-07-20 06:41:12 -04:00
committed by kevinz000
parent ae2cd49de0
commit 6cef81d979
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -11,7 +11,10 @@
var/customsayverb = findtext(input, "*")
if(customsayverb)
input = capitalize(copytext(input, customsayverb+1))
return "[message_spans_start(spans)][input]</span>"
if(input)
return "[message_spans_start(spans)][input]</span>"
else
return
/mob/living/compose_message(atom/movable/speaker, datum/language/message_language, raw_message, radio_freq, list/spans, message_mode, face_name = FALSE)
. = ..()