patricksurry / pysimconnect

Simple, efficient wrapper for FlightSimulator 2020's SimConnect SDK
MIT License
27 stars 9 forks source link

type_for_unit was comparing with incorrect case for Bco16 types. #11

Open TimAidley opened 1 year ago

TimAidley commented 1 year ago

I found that Bco16 data types were being unrecognized, and stepping through I found that u['name_std'] was being set to 'Bco16', but compared to 'BCO16', which I think is incorrect. The type is correctly set with this change.