mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 05:57:24 +01:00
Tweaks some admin verbs (#30219)
* pretty * this as well * no need to use var/
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user