Skip to content

Commit

Permalink
-Skip blank lines.
Browse files Browse the repository at this point in the history
  • Loading branch information
e4rthdog committed Apr 15, 2020
1 parent 0dedea0 commit 12ff318
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Util.cs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public static List<VatLine> DownloadVatsimData(string _uri, string _filename, st
bool isPilot = false;
foreach (string dataLine in dataLines)
{
if (isPilot && dataLine != "!SERVERS:")
if (isPilot && dataLine != "!SERVERS:" && dataLine.Contains(":PILOT:"))
{
string[] col = dataLine.Split(":");
if (col[3] == "PILOT")
Expand Down

0 comments on commit 12ff318

Please sign in to comment.