Second minor patch, similar to the first. v1.3.1's solution to the DEF corruption bug wasn't really ideal in my opinion as it ended up putting every commented line on a newline. The INI library I'm using for Iguana doesn't seem to have a good answer to this, and it doesn't appear to be maintained very much nowadays, so I just said "screw it" and wrote a manual DEF file patching function instead. This should hopefully ONLY add one line to DEF files when necessary without screwing with the rest of the file, which is much better IMO.
Aside from that this version should be identical functionality-wise to versions 1.3 and 1.3.1. Hopefully the next major update to Iguana shouldn't be another one of these and I can actually try to improve its heuristics. Enjoy!
Changelog
- Refactored DEF patching function to not modify INI comments
- Iguana will no longer add
movelist
to a DEF file if one already exists