mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 06:57:42 +01:00
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:
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user