Skip to content

Commit

Permalink
Merge pull request #6 from LeoKle/V0.34
Browse files Browse the repository at this point in the history
removed debug messages
  • Loading branch information
LeoKle authored Mar 31, 2023
2 parents ef3a465 + 2cf2a10 commit dc08b90
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 0 additions & 2 deletions EuroscopeSIMBib/EuroscopeSIMBib.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@
</ItemGroup>
<ItemGroup>
<None Include="airports.json" />
<None Include="EDDL.json" />
<None Include="airportsbackup.json" />
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
Expand Down
5 changes: 1 addition & 4 deletions EuroscopeSIMBib/ScenarioFileGenerator.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using ES;
using System;
using System.Collections.Generic;
using System.Linq;
Expand Down Expand Up @@ -233,7 +232,7 @@ private static void DistributionInput(string[][] SIDorSTARflightplanarray, strin
Console.WriteLine($"Enter {IsSIDorSTAR} distribution key: i.e. 5:1:2:5");
Console.WriteLine($"{_selectedairport.ICAO} needs {SIDorSTARflightplanarray[_runwaydirectionindex].Length} numbers");
Console.WriteLine("or type \"random\" for a random distribution");
Console.WriteLine("Distribtuon numbers have to be in this order: ");
Console.WriteLine("Distribution numbers have to be in this order: ");

WriteDepartureorArrivalNames(SIDorSTARflightplanarray, IsSIDorSTAR);

Expand Down Expand Up @@ -298,15 +297,13 @@ private static void GenerateScenarioFileStandardText()

if (_selectedairport.ILSDefinitions.Length == 1)
{
Console.WriteLine("Length == 1");
for (int i = 0; i < 4; i++)
{
ScenarioFile.Add($"{_selectedairport.ILSDefinitions[0][i]}");
}
}
else
{
Console.WriteLine("Length != 1");
for (int i = 0; i < 4; i++)
{
ScenarioFile.Add($"{_selectedairport.ILSDefinitions[_runwaydirectionindex][i]}");
Expand Down

0 comments on commit dc08b90

Please sign in to comment.