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
This commit is contained in:
Bloop
2026-01-31 13:43:45 -08:00
committed by GitHub
parent f774ad04ad
commit 73246bc3c6
+1 -2
View File
@@ -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(