Code effeciency project: handle_virus_something() (human and monkey /Life())

2 for loops is more expensive then what we're doing here.
Also we check to see if virus2 is populated before starting a for loop

Conflicts:
	code/modules/mob/living/carbon/human/life.dm
	code/modules/mob/living/carbon/monkey/life.dm
This commit is contained in:
Ccomp5950
2014-03-23 08:17:43 -04:00
committed by ZomgPonies
parent e9f057d70c
commit 43a372992d
2 changed files with 0 additions and 2 deletions
@@ -1601,7 +1601,6 @@
// check if we're immune
if(V.antigen & src.antibodies)
V.dead = 1
return
proc/handle_stomach()
@@ -214,7 +214,6 @@
// check if we're immune
if(V.antigen & src.antibodies)
V.dead = 1
return
proc/breathe()