mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-10 01:12:42 +00:00
Merge pull request #1764 from Yoshax/adminlooc
Adds preference to mute remote LOOC chatter heard by admins.
This commit is contained in:
@@ -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)"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user