[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 <Cyberboss@users.noreply.github.com>
This commit is contained in:
SkyratBot
2020-11-04 01:32:44 +01:00
committed by GitHub
parent 726f48995b
commit 83348750e8
@@ -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)