mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-31 04:20:42 +00:00
Fix premature exit when only one .grp file is available
This commit is contained in:
parent
737bf15ad8
commit
7c6dc7a7db
1 changed files with 4 additions and 0 deletions
|
@ -464,6 +464,10 @@ static TArray<GrpEntry> SetupGame()
|
|||
groupno = pick;
|
||||
}
|
||||
}
|
||||
else if (groups.Size() == 1)
|
||||
{
|
||||
groupno = 0;
|
||||
}
|
||||
}
|
||||
|
||||
if (groupno == -1) return TArray<GrpEntry>();
|
||||
|
|
Loading…
Reference in a new issue