This commit is contained in:
Purpose
2018-10-14 12:20:46 +01:00
parent 4643db4690
commit cf5ddc3077
@@ -19,8 +19,9 @@
for(var/obj/item/organ/internal/I in internal_organs)
if(isturf(loc))
var/atom/movable/thing = I.remove(src)
thing.forceMove(get_turf(src))
thing.throw_at(get_edge_target_turf(src,pick(alldirs)),rand(1,3),5)
if(thing)
thing.forceMove(get_turf(src))
thing.throw_at(get_edge_target_turf(src, pick(alldirs)), rand(1,3), 5)
for(var/obj/item/organ/external/E in bodyparts)
if(istype(E, /obj/item/organ/external/chest))