ollyau / EFBConnect

A utility that shares Microsoft Flight Simulator position, attitude, and traffic information with ForeFlight.
MIT License
23 stars 8 forks source link

Don't send XTRAFFIC on user aircraft #4

Open BradleyDeLar opened 4 years ago

BradleyDeLar commented 4 years ago

The user's aircraft was being detected when requesting data for simobjects nearby, this would mean that another aircraft would be displayed on top of your position on the EFB software (and would also result in traffic alerts). This fixes that by checking if the simobject is the user loaded aircraft before sending the XTRAFFIC UDP data, if it is the user's aircraft then it won't send.