[MIRROR] Admins can respawn (#139)

* Admins can respawn (#52567)

* respawn

* changes

* spawn

* R_ADMIN

* Admins can respawn

Co-authored-by: Rohesie <rohesie@gmail.com>
This commit is contained in:
SkyratBot
2020-07-31 00:31:56 +02:00
committed by GitHub
co-authored by Rohesie
parent e60c5cc986
commit aac0a0626c
+2 -3
View File
@@ -629,8 +629,9 @@
set name = "Respawn"
set category = "OOC"
if (CONFIG_GET(flag/norespawn))
if (CONFIG_GET(flag/norespawn) && (!check_rights_for(usr.client, R_ADMIN) || alert(usr, "Respawn configs disabled. Do you want to use your permissions to circumvent it?", "Respawn", "Yes", "No") != "Yes"))
return
if ((stat != DEAD || !( SSticker )))
to_chat(usr, "<span class='boldnotice'>You must be dead to use this!</span>")
return
@@ -655,8 +656,6 @@
return
M.key = key
// M.Login() //wat
return
/**