M_LevelListFromGametype: Fix copypaste error causing empty Lost & Found to show up when restoring certain post-Time Attack cupgrids

This commit is contained in:
toaster 2023-06-04 22:34:44 +01:00
parent ee8c0392ef
commit 98e866c393

View file

@ -347,7 +347,7 @@ boolean M_LevelListFromGametype(INT16 gt)
templevelsearch.cup = &dummy_lostandfound;
templevelsearch.checklocked = true;
if (M_GetFirstLevelInList(&temp, &levellist.levelsearch) != NEXTMAP_INVALID)
if (M_GetFirstLevelInList(&temp, &templevelsearch) != NEXTMAP_INVALID)
{
foundany = true;
GRID_INSERTCUP;