Merge pull request #2755 from VOREStation/polaris-sync-2018-01-10

Polaris Sync 2018 01 10
This commit is contained in:
Arokha Sieyes
2018-01-16 02:46:25 -05:00
committed by GitHub
15 changed files with 26 additions and 27 deletions

View File

@@ -108,7 +108,7 @@ var/list/organ_cache = list()
if(preserved)
return
//Process infections
if ((robotic >= ORGAN_ROBOT) || (owner && owner.species && (owner.species.flags & IS_PLANT)))
if(robotic >= ORGAN_ROBOT || (owner && owner.species && (owner.species.flags & IS_PLANT || (owner.species.flags & NO_INFECT))))
germ_level = 0
return

View File

@@ -605,7 +605,7 @@ Note that amputating the affected organ does in fact remove the infection from t
*/
/obj/item/organ/external/proc/update_germs()
if(robotic >= ORGAN_ROBOT || (owner.species && owner.species.flags & IS_PLANT)) //Robotic limbs shouldn't be infected, nor should nonexistant limbs.
if(robotic >= ORGAN_ROBOT || (owner.species && (owner.species.flags & IS_PLANT || (owner.species.flags & NO_INFECT)))) //Robotic limbs shouldn't be infected, nor should nonexistant limbs.
germ_level = 0
return