From 01b5b3111fa08a4dfeabc1feebcb6d23793b900b Mon Sep 17 00:00:00 2001 From: ShizCalev Date: Sat, 13 Aug 2022 15:29:34 -0400 Subject: [PATCH] Fixes Synthesizer circuit runtime (#69157) Fixes Synthesizer runtime --- code/modules/instruments/piano_synth.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/instruments/piano_synth.dm b/code/modules/instruments/piano_synth.dm index c666a30510f..e2dc842dad0 100644 --- a/code/modules/instruments/piano_synth.dm +++ b/code/modules/instruments/piano_synth.dm @@ -127,8 +127,8 @@ /obj/item/circuit_component/synth/unregister_shell(atom/movable/shell) if(synth.song.music_player == src) synth.song.stop_playing() - synth = null UnregisterSignal(synth, list(COMSIG_INSTRUMENT_START, COMSIG_INSTRUMENT_END, COMSIG_INSTRUMENT_SHOULD_STOP_PLAYING)) + synth = null return ..() /obj/item/circuit_component/synth/proc/start_playing(datum/port/input/port)