procs
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
/obj/item/clothing/head/rice_hat/cursed/equipped(mob/M, slot)
|
||||
. = ..()
|
||||
if (slot == ITEM_SLOT_HEAD)
|
||||
RegisterSignal(M, COMSIG_MOB_SAY, .proc/handle_speech)
|
||||
RegisterSignal(M, COMSIG_MOB_SAY, PROC_REF(handle_speech))
|
||||
else
|
||||
UnregisterSignal(M, COMSIG_MOB_SAY)
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
/obj/effect/murderdome/dead_barricade/Initialize(mapload)
|
||||
. = ..()
|
||||
addtimer(CALLBACK(src, .proc/respawn), 3 MINUTES)
|
||||
addtimer(CALLBACK(src, PROC_REF(respawn)), 3 MINUTES)
|
||||
|
||||
/obj/effect/murderdome/dead_barricade/proc/respawn()
|
||||
if(!QDELETED(src))
|
||||
|
||||
Reference in New Issue
Block a user