Removes the silent parameter from toggle_antag_hud (#25947)

This commit is contained in:
Cyberboss
2017-04-06 20:50:07 -04:00
committed by Leo
parent 3208acc7c4
commit e658b32b49
2 changed files with 3 additions and 4 deletions

View File

@@ -661,7 +661,7 @@ var/list/admin_verbs_hideable = list(
return return
if(has_antag_hud()) if(has_antag_hud())
toggle_antag_hud(silent = TRUE) toggle_antag_hud()
holder.disassociate() holder.disassociate()
qdel(holder) qdel(holder)

View File

@@ -926,7 +926,7 @@ var/list/datum/outfit/custom_outfits = list() //Admin created outfits
"} "}
usr << browse(dat, "window=dressup;size=550x600") usr << browse(dat, "window=dressup;size=550x600")
/client/proc/toggle_antag_hud(silent = FALSE) /client/proc/toggle_antag_hud()
set category = "Admin" set category = "Admin"
set name = "Toggle AntagHUD" set name = "Toggle AntagHUD"
set desc = "Toggles the Admin AntagHUD" set desc = "Toggles the Admin AntagHUD"
@@ -946,8 +946,7 @@ var/list/datum/outfit/custom_outfits = list() //Admin created outfits
to_chat(usr, "You toggled your admin antag HUD [adding_hud ? "ON" : "OFF"].") to_chat(usr, "You toggled your admin antag HUD [adding_hud ? "ON" : "OFF"].")
message_admins("[key_name_admin(usr)] toggled their admin antag HUD [adding_hud ? "ON" : "OFF"].") message_admins("[key_name_admin(usr)] toggled their admin antag HUD [adding_hud ? "ON" : "OFF"].")
log_admin("[key_name(usr)] toggled their admin antag HUD [adding_hud ? "ON" : "OFF"].") log_admin("[key_name(usr)] toggled their admin antag HUD [adding_hud ? "ON" : "OFF"].")
if(!silent) feedback_add_details("admin_verb","TAH") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
feedback_add_details("admin_verb","TAH") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/has_antag_hud() /client/proc/has_antag_hud()
var/datum/atom_hud/A = huds[ANTAG_HUD_TRAITOR] var/datum/atom_hud/A = huds[ANTAG_HUD_TRAITOR]