Merge branch 'quotefox:master' into Safety-Tether

This commit is contained in:
haha26
2022-09-12 20:12:16 -04:00
committed by GitHub
6 changed files with 53 additions and 19 deletions
+4
View File
@@ -59,6 +59,7 @@
* Calls qdel on the chatmessage when its parent is deleted, used to register qdel signal
*/
/datum/chatmessage/proc/on_parent_qdel()
UnregisterSignal(src, COMSIG_PARENT_QDELETING)
qdel(src)
@@ -107,6 +108,9 @@
if (extra_classes.Find("virtual-speaker"))
var/image/r_icon = image('icons/UI_Icons/chat/chat_icons.dmi', icon_state = "radio")
text = "\icon[r_icon] " + text
else if (extra_classes.Find("emote"))
var/image/r_icon = image('icons/ui_icons/chat/chat_icons.dmi', icon_state = "emote")
text = "\icon[r_icon] " + text
// We dim italicized text to make it more distinguishable from regular text
var/tgt_color = extra_classes.Find("italics") ? target.chat_color_darkened : target.chat_color