[MIRROR] Re-adds the admin button to let them exempt players from job exp requirements. (#3282)

* Re-adds the admin button to let them exempt players from job exp requirements. (#56799)

* Re-adds the admin button to let them exempt players from job exp requirements.

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
This commit is contained in:
SkyratBot
2021-02-11 13:10:37 +01:00
committed by GitHub
parent fbb4537360
commit 9ab89d79f6
3 changed files with 55 additions and 14 deletions
-10
View File
@@ -47,16 +47,6 @@
to_chat(usr, "<span class='danger'>ERROR: Mob not found.</span>", confidential = TRUE)
return
cmd_show_exp_panel(M.client)
else if(href_list["toggleexempt"])
if(!check_rights(R_ADMIN))
return
var/client/C = locate(href_list["toggleexempt"]) in GLOB.clients
if(!C)
to_chat(usr, "<span class='danger'>ERROR: Client not found.</span>", confidential = TRUE)
return
toggle_exempt_status(C)
else if(href_list["makeAntag"])
if(!check_rights(R_ADMIN))
return