From cb960f87b097044542ff4845182a1fc931a5ce6d Mon Sep 17 00:00:00 2001 From: siimav Date: Fri, 28 Jun 2024 22:09:33 +0300 Subject: [PATCH] Fix airlaunch costs not getting reflected in budget calcs --- Source/RP0/SpaceCenter/SpaceCenterManagement.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/RP0/SpaceCenter/SpaceCenterManagement.cs b/Source/RP0/SpaceCenter/SpaceCenterManagement.cs index 3cad8836a3a..9d66217a5da 100644 --- a/Source/RP0/SpaceCenter/SpaceCenterManagement.cs +++ b/Source/RP0/SpaceCenter/SpaceCenterManagement.cs @@ -1052,7 +1052,7 @@ public double GetRolloutCostOverTime(double time) public double GetRolloutCostOverTime(double time, LCSpaceCenter ksc) { double delta = 0; - for (int i = 1; i < ksc.LaunchComplexes.Count; ++i) + for (int i = 0; i < ksc.LaunchComplexes.Count; ++i) delta += GetRolloutCostOverTime(time, ksc.LaunchComplexes[i]); return delta;