Organ Runtime Fix (#2005)

changes:

Added a QDELETED check to organ processing so they won't continue to process if they were erroneously left in the processing objects list after being deleted.
Fixed a bad robotic organ check on spiders.
This commit is contained in:
Lohikar
2017-03-28 22:07:52 +03:00
committed by skull132
parent 5188955339
commit 591fe86468
3 changed files with 12 additions and 1 deletions
@@ -84,7 +84,7 @@
var/mob/living/carbon/human/H = .
if(prob(poison_per_bite))
var/obj/item/organ/external/O = pick(H.organs)
if(!(O.robotic >= ORGAN_ROBOT))
if(!(O.status & ORGAN_ROBOT))
var/eggs = new /obj/effect/spider/eggcluster(O, src)
O.implants += eggs
H << "<span class='warning'>The [src] injects something into your [O.name]!</span>"