Ignore race rewards for EPs that aren't found

This commit is contained in:
Gent S 2020-12-23 14:53:56 -05:00
parent 52389c2c69
commit 82d5455da6

View File

@ -608,9 +608,8 @@ void TableData::loadDrops() {
}
if (EPMap == -1) { // not found
char buff[255];
sprintf(buff, "EP with ID %d not found", raceEPID);
throw TableException(std::string(buff));
std::cout << "[WARN] EP with ID " << raceEPID << " not found, skipping" << std::endl;
continue;
}
// time limit isn't stored in the XDT, so we include it in the reward table instead