X-Friese / FlyWithLua

A Lua scripting plugin for X-Plane
MIT License
158 stars 53 forks source link

Debug output for sound elements is written directly to the debug file #85

Closed patrickl92 closed 2 years ago

patrickl92 commented 2 years ago

When writing the debug output, the debug data for each element in the sound table was written multiple times, because the debug data of each element was attached to the previously written data. The debug data is now written directly to the debug file instead of using temporary variables.

My checklist extensions loads over 100 sounds, which made it very difficult to get the correct information. Here is a comparison of the debug data before and after my change:

SoundTableDebugContent_BeforeChange.txt SoundTableDebugContent_AfterChange.txt

sparker256 commented 2 years ago

I checked your fork and built it for all three platforms and worked fine so thanks for helping improve FlyWithLua.