Merge pull request #2338 from CIB/master

Bugfix
This commit is contained in:
Chinsky
2013-02-14 14:07:21 -08:00
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -615,7 +615,7 @@ var/const/BLOOD_VOLUME_SURVIVE = 122
Paralyse(3) // 3 gives them one second to wake up and run away a bit!
if(SA_pp > SA_sleep_min) // Enough to make us sleep as well
sleeping = max(sleeping+2, 10)
else if(SA_pp > 0.01) // There is sleeping gas in their lungs, but only a little, so give them a bit of a warning
else if(SA_pp > 0.15) // There is sleeping gas in their lungs, but only a little, so give them a bit of a warning
if(prob(20))
spawn(0) emote(pick("giggle", "laugh"))
SA.moles = 0
@@ -113,6 +113,12 @@ datum
M.contract_disease(D)
else //injected
M.contract_disease(D, 1, 0)
if(self.data && self.data["virus2"])
if(method == TOUCH)
infect_virus2(M,self.data["virus2"])
else
infect_virus2(M,self.data["virus2"],1)