- Present the iwad selection box also with only one iwad.

This commit is contained in:
drfrag 2020-06-02 12:25:33 +02:00
parent 049090a314
commit 524d8ee524

View file

@ -686,8 +686,8 @@ int FIWadManager::IdentifyVersion (TArray<FString> &wadfiles, const char *iwad,
}
int pick = 0;
// We got more than one so present the IWAD selection box.
if (picks.Size() > 1)
// Present the IWAD selection box.
if (picks.Size() > 0)
{
// Locate the user's prefered IWAD, if it was found.
if (defaultiwad[0] != '\0')
@ -702,7 +702,7 @@ int FIWadManager::IdentifyVersion (TArray<FString> &wadfiles, const char *iwad,
}
}
}
if (picks.Size() > 1)
if (picks.Size() > 0)
{
if (!havepicked)
{