jmelesky / omwllf

OpenMW leveled list fixer
ISC License
38 stars 9 forks source link

Code searches for full path in wrong order; should check latest data dir first #14

Open AsesinoBlade opened 3 years ago

AsesinoBlade commented 3 years ago

Hi, I had an issue where I had a mod in a data dir; and then an override in a later dir; the override patched tr_data.esm to tamriel_data.esm. However, the merger was using the original esp instead of the patched version.

I noticed around line 350, you build up the data_dirs list and then step through it to find the full path. By adding data_dirs.reverse() on line 358, i was able to resolve my issue.

Thank you for building this merger; it is very much needed!

Thanks A