Tweaks some admin verbs (#30219)

* pretty

* this as well

* no need to use var/
This commit is contained in:
kyunkyunkyun
2025-09-07 05:54:19 +00:00
committed by GitHub
parent 6330252351
commit 28a2381628
6 changed files with 42 additions and 16 deletions
+4
View File
@@ -113,6 +113,10 @@
if(!check_rights(R_SERVER))
return
if(!usr.client.is_connecting_from_localhost())
if(tgui_alert(usr, "Are you sure about this?", "Confirm", list("Yes", "No")) != "Yes")
return
message_admins("[key_name_admin(usr)] has manually reloaded admins")
log_admin("[key_name(usr)] has manually reloaded admins")
+1 -1
View File
@@ -45,7 +45,7 @@
if(!check_rights(R_SERVER))
return
var/bypass_ckey = input(usr, "Please, enter a ckey", "Queue Server Bypass")
var/bypass_ckey = tgui_input_text(usr, "Please, enter a ckey. Enter nothing to cancel", "Queue Server Bypass")
if(!bypass_ckey)
return
+4
View File
@@ -329,6 +329,10 @@
if(!check_rights(R_SERVER))
return
if(!usr.client.is_connecting_from_localhost())
if(tgui_alert(usr, "Are you sure about this?", "Confirm", list("Yes", "No")) != "Yes")
return
var/action=""
if(GLOB.configuration.general.restrict_antag_hud_rejoin)
for(var/mob/dead/observer/g in get_ghosts())