From 83348750e84df2546552a042dd8fcd76204580cd Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Wed, 4 Nov 2020 01:32:44 +0100 Subject: [PATCH] [MIRROR] Fixes ChemMaster not outputting pills to inserted pill bottle (#1564) * Merge pull request #54752 from cacogen/chemmasterpillbottleoutputfix Fixes ChemMaster not outputting pills to inserted pill bottle * Fixes ChemMaster not outputting pills to inserted pill bottle Co-authored-by: Jordan Brown --- code/modules/reagents/chemistry/machinery/chem_master.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/modules/reagents/chemistry/machinery/chem_master.dm b/code/modules/reagents/chemistry/machinery/chem_master.dm index 864256a2446..ccc4a9d4115 100644 --- a/code/modules/reagents/chemistry/machinery/chem_master.dm +++ b/code/modules/reagents/chemistry/machinery/chem_master.dm @@ -355,6 +355,7 @@ /datum/component/storage) if(STRB) drop_threshold = STRB.max_items - bottle.contents.len + target_loc = bottle for(var/i = 0; i < amount; i++) if(i < drop_threshold) P = new/obj/item/reagent_containers/pill(target_loc)