[FIX] Bottles created in the chemmaster now use the right chemical overlay. (#26800)

* Move everything a pixel over

* configure item before reagent transfer

---------

Co-authored-by: Adrer <adrermail@gmail.com>
This commit is contained in:
Adrer
2024-09-19 10:32:11 +00:00
committed by GitHub
co-authored by Adrer
parent 880cd7d2bc
commit a135a9d10e
2 changed files with 1 additions and 1 deletions
@@ -570,8 +570,8 @@
P.name = "[medicine_name][name_suffix]"
P.pixel_x = rand(-7, 7) // Random position
P.pixel_y = rand(-7, 7)
reagents.trans_to(P, amount_per_item)
configure_item(data, reagents, P)
reagents.trans_to(P, amount_per_item)
// Load the items into the bottle if there's one loaded
if(istype(S) && S.can_be_inserted(P, TRUE))
Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB