From 14e0087fbdb81033382a29980fd0599918ae9236 Mon Sep 17 00:00:00 2001 From: Poojawa Date: Wed, 16 Oct 2019 04:38:31 -0500 Subject: [PATCH] blood sorta works again, needs better fixing tho --- code/modules/reagents/chemistry/reagents/other_reagents.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/modules/reagents/chemistry/reagents/other_reagents.dm b/code/modules/reagents/chemistry/reagents/other_reagents.dm index c9c7015e3b..430b9be754 100644 --- a/code/modules/reagents/chemistry/reagents/other_reagents.dm +++ b/code/modules/reagents/chemistry/reagents/other_reagents.dm @@ -33,12 +33,12 @@ if((blood_id == "blood" || blood_id == "jellyblood") && (method == INJECT || (method == INGEST && C.dna && C.dna.species && (DRINKSBLOOD in C.dna.species.species_traits)))) if(!data || !(data["blood_type"] in get_safe_blood(C.dna.blood_type))) C.adjustToxLoss(2*REM, TRUE, TRUE) //forced to ensure people don't use it to gain tox as slime person - . = 1 + C.blood_volume = min(C.blood_volume + round(reac_volume, 0.1), BLOOD_VOLUME_MAXIMUM) //but it should still refill blood else C.blood_volume = min(C.blood_volume + round(reac_volume, 0.1), BLOOD_VOLUME_MAXIMUM) - . = 1 - ..() + holder.remove_reagent(id, 1) + return TRUE /datum/reagent/blood/reaction_obj(obj/O, volume) if(volume >= 3 && istype(O))