We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20e0f61 commit ab52796Copy full SHA for ab52796
src/RemoteTech/FlightComputer/Commands/ManeuverCommand.cs
@@ -53,7 +53,15 @@ public override bool Pop(FlightComputer f)
53
}
54
55
if (this.Node.solver == null) // need to repair (due to the scenario of 2 vessels within phyical range)
56
+ {
57
+ if (f.Vessel.patchedConicSolver.maneuverNodes.Count < 1) // no nodes
58
59
+ RTUtil.ScreenMessage("[Flight Computer]: No maneuver node to execute.");
60
+ return false;
61
+ }
62
+
63
this.Node = f.Vessel.patchedConicSolver.maneuverNodes.Find(x => x.UT == this.Node.UT);
64
65
66
var burn = f.ActiveCommands.FirstOrDefault(c => c is BurnCommand);
67
if (burn != null) {
0 commit comments