[MIRROR] Fix a small runtime in actions when dropping rigs (#9271)

Co-authored-by: ShadowLarkens <shadowlarkens@gmail.com>
Co-authored-by: CHOMPStation2 <chompsation2@gmail.com>
This commit is contained in:
CHOMPStation2
2024-10-20 10:39:17 -07:00
committed by GitHub
parent 21d9525e0e
commit 608075a2ae
4 changed files with 4 additions and 4 deletions

View File

@@ -88,7 +88,7 @@
var/obj/item/organ/my_augment = null // Used to reference the object's host organ.
/obj/item/dropped(mob/user)
. = ..()
. = ..(user)
if(src)
if(destroy_on_drop && !QDELETED(src))
qdel(src)