File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -50,8 +50,8 @@ private const float
5050 thresHoldSteps = 0.05f , // increment the rate by this amount (default is 5)
5151 thresholdMin = thresHoldSteps ,
5252 thresHoldMax = 1 ;
53-
5453
54+ public Double fuelModeMaxECRateLimit = 0f ;
5555 private Double
5656 lastGen = - 1 ,
5757 lastMax = - 1 ,
@@ -408,8 +408,9 @@ public override void OnFixedUpdate()
408408
409409 Double
410410 cfTime = TimeWarp . fixedDeltaTime ,
411- ECNeed = ( Double ) ( maxAmount * threshold - amount ) ,
412- fuelModeMaxECRateLimit = ODFC_config . modes [ fuelMode ] . maxEC * rateLimit ;
411+ ECNeed = ( Double ) ( maxAmount * threshold - amount ) ;
412+
413+ fuelModeMaxECRateLimit = ODFC_config . modes [ fuelMode ] . maxEC * rateLimit ;
413414
414415 // add stall code
415416 if ( HighLogic . CurrentGame . Parameters . CustomParams < ODFC_Options > ( ) . needsECtoStart && amount == 0f )
You can’t perform that action at this time.
0 commit comments