Skip to content

Commit

Permalink
Merge pull request #77 from KnigTheThrasher/ghostrunechat
Browse files Browse the repository at this point in the history
Ports ghost runetext from monke
  • Loading branch information
SynthTwo authored Sep 27, 2024
2 parents 9590818 + 7e0de04 commit 36ddeba
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions code/modules/mob/mob_say.dm
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,14 @@
displayed_key = null
deadchat_broadcast(rendered, source, follow_target = src, speaker_key = displayed_key)

//IRIS ADDITION START
for(var/mob/M in GLOB.player_list)
if(!isdead(M))
continue
if (M.client?.prefs.read_preference(/datum/preference/toggle/enable_runechat))
M.create_chat_message(src, /datum/language/common, message)
//IRIS ADDITION END

///Check if this message is an emote
/mob/proc/check_emote(message, forced)
if(message[1] == "*")
Expand Down

0 comments on commit 36ddeba

Please sign in to comment.