From 73246bc3c6cc065440cda19aa5d0c08e7d61382c Mon Sep 17 00:00:00 2001 From: Bloop <13398309+vinylspiders@users.noreply.github.com> Date: Sat, 31 Jan 2026 16:43:45 -0500 Subject: [PATCH] Fixes default_pins list not clearing old refs to wearers (#95045) ## About The Pull Request This list is keyed by the `type` not instances. Does not have a visible effect apart from wasting memory and not doing what was indended ## Why It's Good For The Game Bugfix ## Changelog Nothing player-facing --- code/modules/mod/mod_types.dm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/code/modules/mod/mod_types.dm b/code/modules/mod/mod_types.dm index 7f07997a527..b4e4a78826a 100644 --- a/code/modules/mod/mod_types.dm +++ b/code/modules/mod/mod_types.dm @@ -36,8 +36,7 @@ /obj/item/mod/control/pre_equipped/uninstall(obj/item/mod/module/old_module, deleting) . = ..() - if(default_pins[old_module.type]) - default_pins -= old_module + default_pins -= old_module.type /obj/item/mod/control/pre_equipped/standard applied_modules = list(