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
@@ -94,7 +94,7 @@
if(announce == "Cancel")
return
else if(announce == "Yes")
to_chat(world, "<span class='boldnotice'>[user?.client?.holder?.fakekey? "Administrator" : user.key] applied preset [input] to [src].</span>")
to_chat(world, "<span class='boldnotice'>[user?.client?.is_under_stealthmin()? "Administrator" : user.key] applied preset [input] to [src].</span>")
message_admins(logstr)
log_admin(logstr)
if(input == initial_preset_name)