use SIGNAL_HANDLER REEEEEE (#59242)

makes as many procs as i can find use the SIGNAL_HANDLER define which i assumed they all already did
This commit is contained in:
Kylerace
2021-05-24 12:28:02 -07:00
committed by GitHub
parent 965a8de99c
commit e13fe75590
121 changed files with 199 additions and 34 deletions
+1 -1
View File
@@ -18,7 +18,7 @@
SEND_SIGNAL(src, COMSIG_IMPLANT_ACTIVATED)
/obj/item/implant/ui_action_click()
activate("action_button")
INVOKE_ASYNC(src, .proc/activate, "action_button")
/obj/item/implant/proc/can_be_implanted_in(mob/living/target)
if(issilicon(target))
@@ -20,6 +20,7 @@
* the component, so delete itself.
*/
/obj/item/implant/uplink/proc/_component_removal(datum/source, datum/component/component)
SIGNAL_HANDLER
if(istype(component, /datum/component/uplink))
qdel(src)