From 162f5602b1e62b87440948de8748068caa224949 Mon Sep 17 00:00:00 2001 From: KasparoVy Date: Tue, 28 Mar 2017 23:04:45 -0400 Subject: [PATCH] Unique variable name. For better readability. --- code/modules/mob/living/carbon/carbon.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/modules/mob/living/carbon/carbon.dm b/code/modules/mob/living/carbon/carbon.dm index ab22371f46f..d3fc28499e4 100644 --- a/code/modules/mob/living/carbon/carbon.dm +++ b/code/modules/mob/living/carbon/carbon.dm @@ -1007,7 +1007,7 @@ var/list/ventcrawl_machinery = list(/obj/machinery/atmospherics/unary/vent_pump, /*TO DO - If/when stomach organs are introduced, override this at the human level sending the item to the stomach so that different stomachs can handle things in different ways VB*/ /mob/living/carbon/proc/consume(var/obj/item/weapon/reagent_containers/food/toEat, var/bitesize_override) - var/bitesize = bitesize_override ? bitesize_override : toEat.bitesize + var/this_bite = bitesize_override ? bitesize_override : toEat.bitesize if(!toEat.reagents) return if(satiety > -200) @@ -1015,9 +1015,9 @@ so that different stomachs can handle things in different ways VB*/ if(toEat.consume_sound) playsound(loc, toEat.consume_sound, rand(10,50), 1) if(toEat.reagents.total_volume) - var/fraction = min(bitesize/toEat.reagents.total_volume, 1) + var/fraction = min(this_bite/toEat.reagents.total_volume, 1) toEat.reagents.reaction(src, toEat.apply_type, fraction) - toEat.reagents.trans_to(src, bitesize*toEat.transfer_efficiency) + toEat.reagents.trans_to(src, this_bite*toEat.transfer_efficiency) /mob/living/carbon/get_access() . = ..()