Incorporates Suggestions for code format

Redoes get_damaged_organs() to use defines and flags instead of strings.
This commit is contained in:
IK3I
2016-04-29 21:43:19 -05:00
parent b8d9108c9c
commit 8d18ce19df
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