mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 04:26:03 +01:00
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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user