From a89d6cd12559fcd651ce460144d9e11a8a923f49 Mon Sep 17 00:00:00 2001 From: The0bserver Date: Tue, 1 Sep 2020 02:47:05 -0400 Subject: [PATCH] I hate circuits. They hate change. --- .../integrated_electronics/subtypes/reagents.dm | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/code/modules/integrated_electronics/subtypes/reagents.dm b/code/modules/integrated_electronics/subtypes/reagents.dm index 4997bb3f28..69dc9dcefd 100644 --- a/code/modules/integrated_electronics/subtypes/reagents.dm +++ b/code/modules/integrated_electronics/subtypes/reagents.dm @@ -112,10 +112,10 @@ return if(!AM.reagents) - if(istype(AM, /obj/machinery/hydroponics) && direction_mode == SYRINGE_INJECT && reagents.total_volume && transfer_amount)//injection into tray. - inject_tray(AM, src, transfer_amount) - activate_pin(2) - return + //if(istype(AM, /obj/machinery/hydroponics) && direction_mode == SYRINGE_INJECT && reagents.total_volume && transfer_amount)//injection into tray. + //inject_tray(AM, src, transfer_amount) + //activate_pin(2) + //return activate_pin(3) return @@ -241,10 +241,11 @@ if(!target.reagents) // Hydroponics trays have no reagents holder and handle reagents in their own snowflakey way. // This is a dirty hack to make injecting reagents into them work. - if(istype(target, /obj/machinery/hydroponics) && source.reagents.total_volume) - inject_tray(target, source, transfer_amount) - activate_pin(2) - return + //Someone should redo this. Trays should hold reagents now. + //if(istype(target, /obj/machinery/hydroponics) && source.reagents.total_volume) + //inject_tray(target, source, transfer_amount) + //activate_pin(2) + //return if(!source.is_drainable() || !target.is_refillable()) return