mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Cleans up other components destroys (#38930)
* wearertargeting destroy * Why did these variables even existed. * ....
This commit is contained in:
@@ -70,6 +70,7 @@ GLOBAL_LIST_EMPTY(uplinks)
|
||||
/datum/component/uplink/Destroy()
|
||||
GLOB.uplinks -= src
|
||||
gamemode = null
|
||||
purchase_log = null
|
||||
return ..()
|
||||
|
||||
/datum/component/uplink/proc/LoadTC(mob/user, obj/item/stack/telecrystal/TC, silent = FALSE)
|
||||
|
||||
@@ -20,3 +20,7 @@
|
||||
|
||||
/datum/component/wearertargeting/proc/on_drop(mob/user)
|
||||
UnregisterSignal(user, signals)
|
||||
|
||||
/datum/component/wearertargeting/Destroy()
|
||||
QDEL_NULL(callback) //is likely to ourselves.
|
||||
return ..()
|
||||
Reference in New Issue
Block a user