Makes dirty syringes actually infect people. (#8864)

OOPS.
This commit is contained in:
MarinaGryphon
2020-05-13 13:21:54 +02:00
committed by GitHub
parent 80b0f1ecd0
commit 3a2427c424
@@ -74,7 +74,7 @@
//This gives the last one a 30% chance of infection.
if(prob(dirtiness+(targets.len-1)*10))
log_and_message_admins("[loc] infected [target]'s [eo.name] with \the [src].")
addtimer(CALLBACK(src, .proc/infect_limb), rand(5 MINUTES, 10 MINUTES))
addtimer(CALLBACK(src, .proc/infect_limb, eo), rand(5 MINUTES, 10 MINUTES))
//75% chance to spread a virus if we have one
if(LAZYLEN(viruses) && prob(75))
@@ -470,4 +470,4 @@
. = ..()
reagents.add_reagent("chloralhydrate", 60)
mode = SYRINGE_INJECT
update_icon()
update_icon()