[MIRROR] Pulls apart the vestiges of components still hanging onto signals [MDB IGNORE] (#21738)

* Pulls apart the vestiges of components still hanging onto signals

* update modular

---------

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
This commit is contained in:
SkyratBot
2023-06-18 13:18:23 +00:00
committed by GitHub
co-authored by LemonInTheDark Tom
parent da5da42a18
commit 6dfe17306c
373 changed files with 986 additions and 986 deletions
@@ -50,7 +50,7 @@
if(current_variable)
if(should_listen)
current_variable.remove_listener(src)
UnregisterSignal(current_variable, COMSIG_PARENT_QDELETING)
UnregisterSignal(current_variable, COMSIG_QDELETING)
current_variable = null
/obj/item/circuit_component/variable/proc/set_current_variable(datum/circuit_variable/variable)
@@ -61,4 +61,4 @@
current_variable = variable
if(should_listen)
current_variable.add_listener(src)
RegisterSignal(current_variable, COMSIG_PARENT_QDELETING, PROC_REF(remove_current_variable))
RegisterSignal(current_variable, COMSIG_QDELETING, PROC_REF(remove_current_variable))