mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-12 08:36:00 +01:00
[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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user