diff --git a/gui/massadd.cpp b/gui/massadd.cpp index c7e39660476..c0ce120c530 100644 --- a/gui/massadd.cpp +++ b/gui/massadd.cpp @@ -213,7 +213,7 @@ void MassAddDialog::handleTickle() { if ((*dom)["engineid"] == result.engineId && (*dom)["gameid"] == result.gameId && (*dom)["platform"] == resultPlatformCode && - (*dom)["language"] == resultLanguageCode) { + dom->getValOrDefault("language") == resultLanguageCode) { duplicate = true; break; }