Fixes dionaea getting infections

This commit is contained in:
mwerezak
2014-07-06 02:34:49 -04:00
committed by ZomgPonies
parent 5a054bcdaa
commit 0ba5e1a3dc
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -359,7 +359,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
+1 -1
View File
@@ -38,7 +38,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