New() goes in the trash, we've gotta Initialize()
This commit is contained in:
@@ -18,7 +18,7 @@ GLOBAL_DATUM_INIT(keycard_events, /datum/events, new)
|
||||
var/mob/triggerer = null
|
||||
var/waiting = 0
|
||||
|
||||
/obj/machinery/keycard_auth/New()
|
||||
/obj/machinery/keycard_auth/Initialize()
|
||||
. = ..()
|
||||
ev = GLOB.keycard_events.addEvent("triggerEvent", CALLBACK(src, .proc/triggerEvent))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user