mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-20 03:26:37 +01:00
Properly cleans up the mmi_holder Destroy() proc.
This commit is contained in:
@@ -27,7 +27,9 @@
|
||||
var/obj/item/device/mmi/stored_mmi
|
||||
|
||||
/obj/item/organ/internal/mmi_holder/Destroy()
|
||||
stored_mmi = null
|
||||
if(stored_mmi)
|
||||
qdel(stored_mmi)
|
||||
stored_mmi = null
|
||||
return ..()
|
||||
|
||||
/obj/item/organ/internal/mmi_holder/New(var/mob/living/carbon/human/new_owner, var/internal)
|
||||
|
||||
Reference in New Issue
Block a user