Fixes integrated circuits not being able to have more components added to them (#59724)

Co-authored-by: Watermelon914 <3052169-Watermelon914@users.noreply.gitlab.com>
This commit is contained in:
Watermelon914
2021-06-19 20:38:35 +12:00
committed by GitHub
co-authored by Watermelon914
parent 9c986fe797
commit 21103dc00b
+1 -1
View File
@@ -201,7 +201,7 @@
UnregisterSignal(attached_circuit, list(
COMSIG_MOVABLE_MOVED,
COMSIG_PARENT_QDELETING,
COMSIG_CIRCUIT_ADD_COMPONENT,
COMSIG_CIRCUIT_ADD_COMPONENT_MANUALLY,
))
if(attached_circuit.loc == parent)
var/atom/parent_atom = parent