mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
[MIRROR] fix organ deletion (#11745)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
8d367d0f2b
commit
92e1f33ebc
@@ -95,11 +95,12 @@
|
||||
organs -= OR
|
||||
qdel(OR)
|
||||
|
||||
if(LAZYLEN(internal_organs) && !istype(src, /mob/living/simple_mob/animal))
|
||||
if(LAZYLEN(internal_organs))
|
||||
internal_organs_by_name.Cut()
|
||||
while(internal_organs.len)
|
||||
var/obj/item/OR = internal_organs[1]
|
||||
internal_organs -= OR
|
||||
if(isobj(OR))
|
||||
qdel(OR)
|
||||
|
||||
cultnet.updateVisibility(src, 0)
|
||||
|
||||
Reference in New Issue
Block a user