mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 11:13:16 +00:00
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:
@@ -244,24 +244,23 @@
|
|||||||
for(var/mob/living/carbon/M in D.loc)
|
for(var/mob/living/carbon/M in D.loc)
|
||||||
if(!istype(M,/mob/living/carbon)) continue
|
if(!istype(M,/mob/living/carbon)) continue
|
||||||
if(M == user) continue
|
if(M == user) continue
|
||||||
D.reagents.reaction(M, INGEST)
|
|
||||||
D.reagents.trans_to(M, 15)
|
D.reagents.trans_to(M, 15)
|
||||||
M.bruteloss += 5
|
M.bruteloss += 5
|
||||||
for(var/mob/O in viewers(world.view, D))
|
for(var/mob/O in viewers(world.view, D))
|
||||||
O.show_message(text("\red [] was hit by the syringe!", M), 1)
|
O.show_message(text("\red [] was hit by the syringe!", M), 1)
|
||||||
|
|
||||||
del(D)
|
del(D)
|
||||||
return
|
|
||||||
if(D)
|
|
||||||
for(var/atom/A in D.loc)
|
|
||||||
if(A == user) continue
|
|
||||||
if(A.density) del(D)
|
|
||||||
|
|
||||||
sleep(1)
|
for(var/atom/A in D.loc)
|
||||||
if(D)
|
if(A == user) continue
|
||||||
spawn(10) del(D)
|
if(A.density) del(D)
|
||||||
|
|
||||||
|
sleep(1)
|
||||||
|
|
||||||
|
spawn(10) del(D)
|
||||||
|
|
||||||
|
return
|
||||||
|
|
||||||
return
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user