mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-21 03:59:59 +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:
co-authored by
Jordan Brown
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)
|
||||
|
||||
Reference in New Issue
Block a user