From 44e60ef77fafe94d4bd7089938d34279e6476310 Mon Sep 17 00:00:00 2001 From: Lucy Date: Fri, 1 Mar 2024 03:03:17 -0500 Subject: [PATCH] Fix dissection experiment not working --- code/game/machinery/computer/operating_computer.dm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/game/machinery/computer/operating_computer.dm b/code/game/machinery/computer/operating_computer.dm index f778f08c3ddf..093c96bf57ec 100644 --- a/code/game/machinery/computer/operating_computer.dm +++ b/code/game/machinery/computer/operating_computer.dm @@ -25,12 +25,15 @@ /obj/machinery/computer/operating/LateInitialize() . = ..() - + var/static/list/dissection_signals = list( + COMSIG_OPERATING_COMPUTER_DISSECTION_COMPLETE = TYPE_PROC_REF(/datum/component/experiment_handler, try_run_dissection_experiment) + ) experiment_handler = AddComponent( /datum/component/experiment_handler, \ allowed_experiments = list(/datum/experiment/dissection), \ config_flags = EXPERIMENT_CONFIG_ALWAYS_ACTIVE, \ config_mode = EXPERIMENT_CONFIG_ALTCLICK, \ + experiment_signals = dissection_signals, \ ) /obj/machinery/computer/operating/Destroy()