Merge pull request #7550 from Khloross/cookingfix

Fix combinination_cook() creating items with no reagents
This commit is contained in:
Atermonera
2020-08-27 16:45:40 -07:00
committed by VirgoBot
parent 61f7ef53c2
commit dcd6ae56ca

View File

@@ -480,7 +480,8 @@
CI.container.reagents.trans_to_holder(buffer, CI.container.reagents.total_volume)
var/obj/item/weapon/reagent_containers/food/snacks/result = new cook_path(CI.container)
buffer.trans_to(result, buffer.total_volume)
buffer.trans_to_holder(result.reagents, buffer.total_volume) //trans_to doesn't handle food items well, so
//just call trans_to_holder instead
//Filling overlay
var/image/I = image(result.icon, "[result.icon_state]_filling")