Skip to content

Commit 82d5455

Browse files
Ignore race rewards for EPs that aren't found
1 parent 52389c2 commit 82d5455

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/TableData.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -608,9 +608,8 @@ void TableData::loadDrops() {
608608
}
609609

610610
if (EPMap == -1) { // not found
611-
char buff[255];
612-
sprintf(buff, "EP with ID %d not found", raceEPID);
613-
throw TableException(std::string(buff));
611+
std::cout << "[WARN] EP with ID " << raceEPID << " not found, skipping" << std::endl;
612+
continue;
614613
}
615614

616615
// time limit isn't stored in the XDT, so we include it in the reward table instead

0 commit comments

Comments
 (0)