Fixed runtime in blood transfer.

Fixed cure machine producing virus blood wrong.
Changes to existing syndromes:
-Cough : now has chance to infect people around mob.
-Telepathy : now should properly give powers to the mob.

New syndromes:
-Topographical Cretinism : confusing directions, much like drunk effect.
-Blackout : short-time blindness
This commit is contained in:
Chinsky
2013-06-09 16:30:22 +04:00
parent be8ca60280
commit 28c15adaa3
3 changed files with 26 additions and 12 deletions
+1 -1
View File
@@ -201,7 +201,7 @@ var/const/BLOOD_VOLUME_SURVIVE = 122
vessel.add_reagent("blood", amount, injected.data)
vessel.update_total()
var/list/viruses = injected.data["virus2"]
if (viruses.len)
if (viruses && viruses.len)
virus2 |= viruses
if (injected.data["antibodies"] && prob(5))
antibodies |= injected.data["antibodies"]