From 51a33bba08901ac3486add8b98b15cefb1296c1f Mon Sep 17 00:00:00 2001 From: UmeFuu <35434208+UmeFuu@users.noreply.github.com> Date: Mon, 25 Feb 2019 22:16:38 -0300 Subject: [PATCH] Changes some code From "for(var/i = 1, i <= created_volume, i++)" to "the for(var/i in 1 to created_volume)" on lines 102 & 117 in order to make it more understandable --- code/modules/reagents/chemistry/recipes/food.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/reagents/chemistry/recipes/food.dm b/code/modules/reagents/chemistry/recipes/food.dm index cc399adb169..ec732bba858 100644 --- a/code/modules/reagents/chemistry/recipes/food.dm +++ b/code/modules/reagents/chemistry/recipes/food.dm @@ -99,7 +99,7 @@ /datum/chemical_reaction/dough/on_reaction(datum/reagents/holder, created_volume) var/location = get_turf(holder.my_atom) - for(var/i = 1, i <= created_volume, i++) + for(var/i in 1 to created_volume) new /obj/item/reagent_containers/food/snacks/dough(location) ///Cookies by Ume @@ -114,7 +114,7 @@ /datum/chemical_reaction/cookiedough/on_reaction(datum/reagents/holder, created_volume) var/location = get_turf(holder.my_atom) - for(var/i = 1, i <= created_volume, i++) + for(var/i in 1 to created_volume) new /obj/item/reagent_containers/food/snacks/cookiedough(location)