admin stealth mode now works while deadminned (#6630)

this is admittedly not a usual use of stealth mode but it's nice to not
pop on/off the list when deadminned

(this is nice for event rounds since you're supposed to deadmin if in a
conflict role)
This commit is contained in:
silicons
2024-07-31 10:10:27 -04:00
committed by GitHub
parent e4e31a0356
commit edcd2e52ad
18 changed files with 62 additions and 55 deletions
@@ -17,7 +17,7 @@
var/result = input(usr, "Select reboot method", "World Reboot", options[1]) as null|anything in options
if(result)
// SSblackbox.record_feedback("tally", "admin_verb", 1, "Reboot World") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
var/init_by = "Initiated by [usr.client.holder.fakekey ? "Admin" : usr.key]."
var/init_by = "Initiated by [usr.key]."
switch(result)
if("Regular Restart")
if(!(isnull(usr.client.address) || (usr.client.address in localhost_addresses)))