Merge pull request #4320 from IK3I/Tox-Comp-Fix

Adds check for synthetic parts in tox-comp
This commit is contained in:
TheDZD
2016-04-30 09:34:55 -04:00
3 changed files with 12 additions and 3 deletions
@@ -40,7 +40,7 @@ Bonus
if(istype(M, /mob/living/carbon/human))
var/mob/living/carbon/human/H = M
var/list/parts = H.get_damaged_organs(1,1) //1,1 because it needs inputs.
var/list/parts = H.get_damaged_organs(1,1, AFFECT_ORGANIC_ORGAN) //1,1 because it needs inputs.
if(!parts.len)
return