diff --git a/GainStation13/code/modules/reagents/reagent_containers/barrel_tank.dm b/GainStation13/code/modules/reagents/reagent_containers/barrel_tank.dm index 07a3bf74..11a6ed75 100644 --- a/GainStation13/code/modules/reagents/reagent_containers/barrel_tank.dm +++ b/GainStation13/code/modules/reagents/reagent_containers/barrel_tank.dm @@ -11,6 +11,7 @@ actions_types = list(/datum/action/item_action/toggle_tube) var/mob/living/carbon/U = null + var/transfer_amount = 1 amount_per_transfer_from_this = 0 possible_transfer_amounts = list(0) @@ -60,7 +61,7 @@ if(reagents.total_volume) var/fraction = min(1/reagents.total_volume, 1) reagents.reaction(U, INGEST, fraction, FALSE) - reagents.trans_to(U, 1, 2) + reagents.trans_to(U, transfer_amount, 2) else to_chat(U, "The barrel is empty!") U = null