Fix premature exit when only one .grp file is available

This commit is contained in:
Magnus Norddahl 2019-12-29 04:49:28 +01:00
parent 737bf15ad8
commit 7c6dc7a7db

View file

@ -464,6 +464,10 @@ static TArray<GrpEntry> SetupGame()
groupno = pick;
}
}
else if (groups.Size() == 1)
{
groupno = 0;
}
}
if (groupno == -1) return TArray<GrpEntry>();