mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-21 20:20:33 +01:00
Adds radio silencing admin preference to admin preferences (#40827)
This commit is contained in:
@@ -585,6 +585,8 @@ GLOBAL_LIST_EMPTY(preferences_datums)
|
||||
dat += "<b>Announce Login:</b> <a href='?_src_=prefs;preference=announce_login'>[(toggles & ANNOUNCE_LOGIN)?"Enabled":"Disabled"]</a><br>"
|
||||
dat += "<br>"
|
||||
dat += "<b>Combo HUD Lighting:</b> <a href = '?_src_=prefs;preference=combohud_lighting'>[(toggles & COMBOHUD_LIGHTING)?"Full-bright":"No Change"]</a><br>"
|
||||
dat += "<br>"
|
||||
dat += "<b>Silence Radio Messages:</b> <a href = '?_src_=prefs;preference=toggle_radio_chatter'>[(chat_toggles & CHAT_RADIO)?"Disabled":"Enabled"]</a><br>"
|
||||
dat += "</td>"
|
||||
dat += "</tr></table>"
|
||||
|
||||
@@ -1376,12 +1378,16 @@ GLOBAL_LIST_EMPTY(preferences_datums)
|
||||
tgui_lock = !tgui_lock
|
||||
if("winflash")
|
||||
windowflashing = !windowflashing
|
||||
|
||||
//here lies the badmins
|
||||
if("hear_adminhelps")
|
||||
toggles ^= SOUND_ADMINHELP
|
||||
user.client.toggleadminhelpsound()
|
||||
if("announce_login")
|
||||
toggles ^= ANNOUNCE_LOGIN
|
||||
user.client.toggleannouncelogin()
|
||||
if("combohud_lighting")
|
||||
toggles ^= COMBOHUD_LIGHTING
|
||||
if("toggle_radio_chatter")
|
||||
user.client.toggle_hear_radio()
|
||||
|
||||
if("be_special")
|
||||
var/be_special_type = href_list["be_special_type"]
|
||||
|
||||
Reference in New Issue
Block a user