diff --git a/code/modules/food/recipe.dm b/code/modules/food/recipe.dm index 2686837a71..6141defa09 100644 --- a/code/modules/food/recipe.dm +++ b/code/modules/food/recipe.dm @@ -191,7 +191,7 @@ // This proc is called under the assumption that the container has already been checked and found to contain the necessary ingredients /datum/recipe/proc/make_food(var/obj/container as obj) if(!result) - to_world("Recipe [type] is defined without a result, please bug report this.") + log_runtime(EXCEPTION("Recipe [type] is defined without a result, please bug report this.")) return @@ -253,14 +253,14 @@ if(!result_obj.reagents)//This shouldn't happen //If the result somehow has no reagents defined, then create a new holder - to_chat(world, "[result_obj] had no reagents!") + log_runtime(EXCEPTION("[result_obj] had no reagents!")) result_obj.create_reagents(temp.reagents.total_volume*1.5) if(result_quantity == 1) qdel(tempholder.reagents) tempholder.reagents = result_obj.reagents else - to_chat(world, result_obj) + log_runtime(EXCEPTION("[result_quantity] was greater than 1! Check [result_obj]!")) result_obj.reagents.trans_to(tempholder.reagents, result_obj.reagents.total_volume) tally++