From f9c33eb25ff928939d08452cf57c9805291fd59f Mon Sep 17 00:00:00 2001 From: HelmCrab <90987989+Thera-Pissed@users.noreply.github.com> Date: Sat, 8 Jun 2024 15:53:05 -0500 Subject: [PATCH] probably should unregister the old signal huh --- code/game/machinery/shuttle/shuttle_engine_types.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/game/machinery/shuttle/shuttle_engine_types.dm b/code/game/machinery/shuttle/shuttle_engine_types.dm index e39d18cbddf2..4ae89f7c0515 100644 --- a/code/game/machinery/shuttle/shuttle_engine_types.dm +++ b/code/game/machinery/shuttle/shuttle_engine_types.dm @@ -182,6 +182,8 @@ /obj/machinery/power/shuttle/engine/fire/proc/remove_heater(datum/source, disassembled) SIGNAL_HANDLER + var/obj/machinery/atmospherics/components/unary/shuttle/fire_heater/resolved_heater = attached_heater?.resolve() + UnregisterSignal(resolved_heater, COMSIG_OBJ_DECONSTRUCT) attached_heater = null /obj/machinery/power/shuttle/engine/fire/RefreshParts()