mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-26 14:47:50 +01:00
[MIRROR] Many new global signals from downstream (#12051)
Co-authored-by: Will <7099514+Willburd@users.noreply.github.com>
This commit is contained in:
co-authored by
Will
parent
9c25b75d6c
commit
408eeaa5d1
@@ -470,6 +470,8 @@ It's fairly easy to fix if dealing with single letters but not so much with comp
|
||||
|
||||
if(subject && subject.forbid_seeing_deadchat && !check_rights_for(subject.client, R_HOLDER))
|
||||
return // Can't talk in deadchat if you can't see it.
|
||||
if(ismob(subject))
|
||||
SEND_GLOBAL_SIGNAL(COMSIG_GLOB_DEAD_SAY, subject, message)
|
||||
|
||||
for(var/mob/M in GLOB.player_list)
|
||||
if(M.client && ((!isnewplayer(M) && M.stat == DEAD) || (check_rights_for(M.client, R_HOLDER) && M.client?.prefs?.read_preference(/datum/preference/toggle/holder/show_staff_dsay))) && M.client?.prefs?.read_preference(/datum/preference/toggle/show_dsay))
|
||||
|
||||
Reference in New Issue
Block a user