fonsleenaars / tqdb

Python parser for the Titan Quest Anniversary Edition, Ragnarok, Atlantis, Eternal Ember DLC database.
https://tq-db.net
MIT License
51 stars 15 forks source link

fix: use first occurence of tags for naming #27

Closed fonsleenaars closed 6 years ago

fonsleenaars commented 6 years ago

Some of the tags seem to have duplicates with completely different names. The game chooses to use the first tag it encounters. The parser loads all tags sequentially without checking for duplicates so to fix this bug, simply reverse the list so the "real" first occurence of a tag is the one we end up with.

Fixes #20