Skip to content

Commit

Permalink
confirmation on reload admins (#37239)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwhitak authored Oct 11, 2024
1 parent 392d11f commit e8c301a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions code/modules/admin/verbs/diagnostics.dm
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@

if(!check_rights(R_SERVER))
return

if(alert("Reload admins? Note: currently playing admins may not like this.","Reload Admins","Yes","No") != "Yes")
//dear future coders yes i am mad right now
return
message_admins("[usr] manually reloaded admins")
load_admins()
feedback_add_details("admin_verb","RLDA") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
Expand Down Expand Up @@ -135,4 +137,4 @@
else
str += "\n|''(Check [R.type]/on_reaction()!)''"
text2file(str+"\n|}","chemistry-recipes.wiki")
z
z

0 comments on commit e8c301a

Please sign in to comment.