Fixing some GetElement runtimes.

This commit is contained in:
Ghommie
2020-03-15 15:12:35 +01:00
parent b7c3ada3e5
commit 5bfbcd0948
6 changed files with 7 additions and 9 deletions

View File

@@ -1732,7 +1732,7 @@
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)
var/datum/element/ghost_role_eligibility/eli = SSdcs.GetElement(list(/datum/element/ghost_role_eligibility))
if(M.ckey in eli.timeouts)
eli.timeouts -= M.ckey