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:
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