diff options
-rw-r--r-- | tools/create_kyradat/create_kyradat.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/create_kyradat/create_kyradat.cpp b/tools/create_kyradat/create_kyradat.cpp index 129d532972..f6b768ec43 100644 --- a/tools/create_kyradat/create_kyradat.cpp +++ b/tools/create_kyradat/create_kyradat.cpp @@ -436,6 +436,9 @@ bool updateIndex(PAKFile &out, const ExtractInformation *eI) { if (std::find(index.gameList.begin(), index.gameList.end(), gameDef) == index.gameList.end()) { ++index.includedGames; index.gameList.push_back(gameDef); + } else { + // Already included in the game list, thus we do not need any further processing here. + return true; } } else { index.version = kKyraDatVersion; |