Ghost_Role_Eligibility Updates & LL Mob Spawn Updates

This commit is contained in:
Dip
2020-10-02 21:33:03 -03:00
parent fbbdfdfeb4
commit 5c552abe6e
8 changed files with 57 additions and 49 deletions
+2 -3
View File
@@ -1737,9 +1737,8 @@
var/mob/M = locate(href_list["makeeligible"])
if(!ismob(M))
to_chat(usr, "this can only be used on instances of type /mob.")
var/datum/element/ghost_role_eligibility/eli = SSdcs.GetElement(/datum/element/ghost_role_eligibility)
if(M.ckey in eli.timeouts)
eli.timeouts -= M.ckey
if(M.ckey in GLOB.client_ghost_timeouts)
GLOB.client_ghost_timeouts -= M.ckey
else if(href_list["sendtoprison"])
if(!check_rights(R_ADMIN))