Fixed STAGE_PRIORITY_FLOW resource disabling.
@@ -1,9 +1,10 @@
Added: New readouts to the miscellaneous category:
Added: Editor Overlay Tab's X position is now changable in the BuildOverlay.xml settings file.
Changed: Editor Overlay Tabs start position moved over as to not overlap the parts menu.
+ Fixed: Bug where STAGE_PRIORITY_FLOW resources would not be corrently disabled/enabled.
Fixed: Issue with manoeuvre node readouts and low tier tracking station.
@@ -273,7 +273,7 @@
foreach (var aPartSim in allParts)
- if (aPartSim.resources[type] <= SimManager.RESOURCE_MIN) continue;
+ if (aPartSim.resources[type] <= SimManager.RESOURCE_MIN || aPartSim.resourceFlowStates[type] == 0) continue;
var stage = aPartSim.DecouplerCount();
if (stage > maxStage)
Binary files a/Output/KerbalEngineer/KerbalEngineer.dll and b/Output/KerbalEngineer/KerbalEngineer.dll differ