Virology is working again.

This commit is contained in:
Spamcat
2013-03-28 18:23:30 +04:00
parent 288f0926fe
commit 6f1b9a44ab
3 changed files with 20 additions and 7 deletions
@@ -84,6 +84,8 @@
//Random events (vomiting etc)
handle_random_events()
handle_virus_updates()
//Handle temperature/pressure differences between body and environment
handle_environment(environment)
@@ -1262,6 +1264,7 @@
if(bodytemperature > 406)
for(var/datum/disease/D in viruses)
D.cure()
if(virus2) virus2.cure(src)
if(!virus2)
for(var/obj/effect/decal/cleanable/blood/B in view(1,src))
if(B.virus2 && get_infection_chance())