Merge pull request #1764 from Yoshax/adminlooc

Adds preference to mute remote LOOC chatter heard by admins.
This commit is contained in:
EmperorJon
2016-05-28 01:52:15 +01:00
2 changed files with 8 additions and 2 deletions

View File

@@ -136,7 +136,7 @@
send = 1
prefix = "(Eye) "
if(!send && (target in admins))
if(!send && (target in admins) && target.is_preference_enabled(/datum/client_preference/holder/show_rlooc))
send = 1
prefix = "(R)"

View File

@@ -189,4 +189,10 @@ var/list/_client_preferences_by_type
description = "Radio chatter"
key = "CHAT_RADIO"
enabled_description = "Show"
disabled_description = "Hide"
disabled_description = "Hide"
/datum/client_preference/holder/show_rlooc
description ="Remote LOOC chat"
key = "CHAT_RLOOC"
enabled_description = "Show"
disabled_description = "Hide"