Fixes Synthesizer circuit runtime (#69157)

Fixes Synthesizer runtime
This commit is contained in:
ShizCalev
2022-08-13 15:29:34 -04:00
committed by GitHub
parent b38f8ac78c
commit 01b5b3111f
+1 -1
View File
@@ -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)