mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user