More Fixes

Commented code and fixed spelling error
This commit is contained in:
SomeGuyEatingPie
2022-08-13 11:35:27 +01:00
parent c1e72ac4c6
commit b0cdd0199a
2 changed files with 3 additions and 2 deletions
@@ -1332,6 +1332,7 @@ GLOBAL_LIST_EMPTY(roundstart_races)
if (H.nutrition > NUTRITION_LEVEL_FULL)
// fatConversionRate is functionally useless. It seems under normal curcumstances, each tick only processes, at most, 1 nutrition anyway. reducing the value has no effect.
var/fatConversionRate = 100 //GS13 what percentage of the excess nutrition should go to fat (total nutrition to transfer can't be under 1)
var/nutritionThatBecomesFat = max((H.nutrition - NUTRITION_LEVEL_FULL)*(fatConversionRate / 100),1)
H.nutrition -= nutritionThatBecomesFat