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
This commit is contained in:
UmeFuu
2019-02-25 22:16:38 -03:00
committed by GitHub
parent de86d56285
commit 51a33bba08
@@ -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)