mirror of
https://github.com/fulpstation/fulpstation.git
synced 2025-12-10 10:01:40 +00:00
Removes the silent parameter from toggle_antag_hud (#25947)
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
@@ -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]
|
||||||
|
|||||||
Reference in New Issue
Block a user