Fixes dionaea getting infections

This commit is contained in:
mwerezak
2014-07-06 02:34:49 -04:00
parent b376f117b8
commit f1f9641bb5
2 changed files with 2 additions and 2 deletions

View File

@@ -357,7 +357,7 @@ player's body, though, antitox and spaceacillin are easy enough to get I doubt i
*/
/datum/organ/external/proc/update_germs()
if(status & (ORGAN_ROBOT|ORGAN_DESTROYED)) //Robotic limbs shouldn't be infected, nor should nonexistant limbs.
if(status & (ORGAN_ROBOT|ORGAN_DESTROYED) || (owner.species && owner.species.flags & IS_PLANT)) //Robotic limbs shouldn't be infected, nor should nonexistant limbs.
germ_level = 0
return

View File

@@ -37,7 +37,7 @@
if (!germ_level)
return
if (robotic >= 2) //TODO make robotic internal and external organs separate types of organ instead of a flag
if (robotic >= 2 || (owner.species && owner.species.flags & IS_PLANT)) //TODO make robotic internal and external organs separate types of organ instead of a flag
germ_level = 0
return