mirror of https://github.com/OpenMW/openmw.git
Gracefully handle content lists that specify duplicate BSAs
Previously, if fed bad data, or a content list predated a BSA being moved to a non-user config file, or possibly in other situations (but not any of the obvious ones as those had other guards), the `selectedArchives` list could be longer than the number of archives available due to duplicate entries. This ensures they're handled like entries specifying no-longer-present archives, and just skips the duplicates. The same would happen elsewhere in similar situations, but those code paths aren't always taken.pull/3236/head
parent
cdf7bd74d5
commit
0537b53d21
Loading…
Reference in New Issue