Skip to content

Commit

Permalink
add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lamont-granquist committed Aug 14, 2023
1 parent 62f5364 commit 86bf1b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions MechJeb2/MechJebLib/Simulations/DecouplingAnalyzer.cs
Expand Up @@ -68,6 +68,7 @@ private static int CalculateDecoupledInStage(SimVessel v, SimPart p, SimPart? pa
if (p.DecoupledInStage != int.MinValue)
return p.DecoupledInStage;

// don't decouple already decoupled decouplers
if (p.InverseStage >= parentDecoupledInStage)
{
for (int i = 0; i < p.Modules.Count; i++)
Expand Down

0 comments on commit 86bf1b3

Please sign in to comment.