Fixed syringe gun code by rolling back to a version of it before various fixes were applied. This reintroduces some old runtime errors with it, but it makes it actually WORK now. Better fix to those when it's not the middle of the night I guess.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@688 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
musketstgstation@gmail.com
2010-12-22 01:37:12 +00:00
parent f66add805b
commit 0525c4aa69

View File

@@ -244,24 +244,23 @@
for(var/mob/living/carbon/M in D.loc)
if(!istype(M,/mob/living/carbon)) continue
if(M == user) continue
D.reagents.reaction(M, INGEST)
D.reagents.trans_to(M, 15)
M.bruteloss += 5
for(var/mob/O in viewers(world.view, D))
O.show_message(text("\red [] was hit by the syringe!", M), 1)
del(D)
return
if(D)
for(var/atom/A in D.loc)
if(A == user) continue
if(A.density) del(D)
sleep(1)
if(D)
spawn(10) del(D)
for(var/atom/A in D.loc)
if(A == user) continue
if(A.density) del(D)
sleep(1)
spawn(10) del(D)
return
return