Nightinggale
Deity
- Joined
- Feb 2, 2009
- Messages
- 5,386
The assert means precisely what it says.
You have a mismatch between XML number of yields and enum number of yields. It says it's because YIELD_GOLD is already used and can't be added to the list while reading the XML.Message: XML read error. "YIELD_GOLD" is used more than once
If that is the case, then the check broke. It told precisely which one it triggered on when I wrote the check. You should check for multiple declarations of YIELD_GOLD. Note that they might not be in the same XML file. In fact I wrote the check due to problems with a type being used in two different files, which was next to impossible to debug.I am assuming it is appearing as gold simply because gold is the last one on the list..