From 1ca8336bad6cea21c063e13162a6fce897532def Mon Sep 17 00:00:00 2001 From: Rykka Date: Wed, 22 Jul 2020 01:49:16 -0400 Subject: [PATCH] Change to_world debug messages to runtimes instead --- code/modules/food/recipe.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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++