Skip to content

Commit

Permalink
Fix bug of showing all possible control lines per vessel in "All Acti…
Browse files Browse the repository at this point in the history
…ve Connections" mode
  • Loading branch information
KSP-TaxiService committed Dec 1, 2019
1 parent 5298791 commit 46cc58a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/CommNetConstellation/CommNetLayer/CNCCommNetUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -378,8 +378,13 @@ private void updateCustomisedView()

for(int i = 0; i < net.Count; i++)
{
if (net[i].isControlSource) //is it ground station/remote-control pilot?
{
continue;
}

var thisPath = new CommPath();
net.FindClosestControlSource(net[i], thisPath);
net.FindHome(net[i], thisPath);
for (int controlpathIndex = 0; controlpathIndex < thisPath.Count; controlpathIndex++)
{
pathLinkExist = false;
Expand Down

0 comments on commit 46cc58a

Please sign in to comment.