mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 23:17:02 +01:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user