From 4b64324a7f02c3013923f7e0a7be7a3e410c7253 Mon Sep 17 00:00:00 2001 From: Seb E Date: Sun, 19 Mar 2017 22:08:16 +0100 Subject: [PATCH] Fix launched vessel not getting tracked when it has more freezer parts than another existing vessel. --- Source/DFIntMemory.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/DFIntMemory.cs b/Source/DFIntMemory.cs index 66ff0fd..9a5fe62 100644 --- a/Source/DFIntMemory.cs +++ b/Source/DFIntMemory.cs @@ -927,7 +927,7 @@ private void UpdatePredictedVesselEC(VesselInfo vesselInfo, Vessel vessel, doubl if (frzrpart.Value.vesselID == vessel.id) DpFrzrVsl.Add(frzrpart); } - for (int i = 0; i < DpFrzrActVsl.Count; i++) + for (int i = 0; i < DpFrzrVsl.Count; i++) { //calculate the predicated time EC will run out double timeperiod = Planetarium.GetUniversalTime() - DpFrzrVsl[i].Value.timeLastElectricity;