diff --git a/gui/massadd.cpp b/gui/massadd.cpp index 8a3cbb4cdbf..839e0027244 100644 --- a/gui/massadd.cpp +++ b/gui/massadd.cpp @@ -210,8 +210,8 @@ void MassAddDialog::handleTickle() { // If the engineid, gameid, platform and language match -> skip it Common::ConfigManager::Domain *dom = ConfMan.getDomain(*iter); assert(dom); - - if ((*dom)["engineid"] == result.engineId && + + if ((!dom->contains("engineid") || (*dom)["engineid"] == result.engineId) && (*dom)["gameid"] == result.gameId && dom->getValOrDefault("platform") == resultPlatformCode && parseLanguage(dom->getValOrDefault("language")) == parseLanguage(resultLanguageCode)) {