From fcd1b8bea0fb552a8d4290b4b8f25134d120fe05 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Wed, 29 Mar 2023 23:25:32 +0200 Subject: [PATCH] [MIRROR] Remove janitor key UnregisterSignal [NO GBP] [MDB IGNORE] (#20122) * Remove janitor key UnregisterSignal [NO GBP] (#74280) ## About The Pull Request Removes UnregisterSignal when the janitor access key ring is destroyed. Signal will clean itself up. Mentions adding janitor keys to the Custodial Locator, which I forgot on the last PR https://github.com/tgstation/tgstation/pull/74181 ## Changelog :cl: LT3 qol: Janitor access keys now show up on the Custodial Locator tablet app /:cl: * Remove janitor key UnregisterSignal [NO GBP] --------- Co-authored-by: lessthanthree <83487515+lessthnthree@users.noreply.github.com> --- code/game/objects/items/janitor_key.dm | 1 - 1 file changed, 1 deletion(-) diff --git a/code/game/objects/items/janitor_key.dm b/code/game/objects/items/janitor_key.dm index cc8a6520dc2..06370b5af84 100644 --- a/code/game/objects/items/janitor_key.dm +++ b/code/game/objects/items/janitor_key.dm @@ -25,7 +25,6 @@ GLOB.janitor_devices += src /obj/item/access_key/Destroy() - UnregisterSignal(SSdcs, COMSIG_ON_DEPARTMENT_ACCESS) GLOB.janitor_devices -= src return ..()