From 01a43b2481c9075774ece0609ac9313da7d46e9c Mon Sep 17 00:00:00 2001 From: kevinz000 <2003111+kevinz000@users.noreply.github.com> Date: Thu, 30 Jan 2020 00:07:46 -0700 Subject: [PATCH] Update pool_controller.dm --- code/modules/pool/pool_controller.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/pool/pool_controller.dm b/code/modules/pool/pool_controller.dm index d88db80f9b..d3500b5a97 100644 --- a/code/modules/pool/pool_controller.dm +++ b/code/modules/pool/pool_controller.dm @@ -145,7 +145,7 @@ var/list/reagent_names = list() var/list/rejected = list() for(var/datum/reagent/R in reagents.reagent_list) - if((R.volume >= min_reagent_amount) && (!respect_reagent_blacklist || !R.blacklisted)) + if((R.volume >= min_reagent_amount) && (!respect_reagent_blacklist || R.can_synth)) reagent_names += R.name else reagents.remove_reagent(R.type, INFINITY) @@ -202,7 +202,7 @@ for(var/datum/reagent/R in reagents.reagent_list) if(R.reagent_state == SOLID) R.reagent_state = LIQUID - if(!swimee.has_reagent(POOL_NO_OVERDOSE_MEDICINE_MAX)) + if(!swimee.reagents.has_reagent(POOL_NO_OVERDOSE_MEDICINE_MAX)) swimee.reagents.add_reagent(R.type, 0.5) //osmosis reagents.reaction(swimee, VAPOR, 0.03) //3 percent. Need to find a way to prevent this from stacking chems at some point like the above. for(var/obj/objects in W)