From 0525c4aa690ba49195a15cebb501a829f499611c Mon Sep 17 00:00:00 2001 From: "musketstgstation@gmail.com" Date: Wed, 22 Dec 2010 01:37:12 +0000 Subject: [PATCH] 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 --- code/WorkInProgress/Chemistry-Tools.dm | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/code/WorkInProgress/Chemistry-Tools.dm b/code/WorkInProgress/Chemistry-Tools.dm index a0a5bfdc6e2..cba2aa80080 100644 --- a/code/WorkInProgress/Chemistry-Tools.dm +++ b/code/WorkInProgress/Chemistry-Tools.dm @@ -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