No entries means no entries

This commit is contained in:
toaster 2023-08-08 00:14:55 +01:00
parent 71bbe3f28a
commit 8b22e7f691

View file

@ -6209,7 +6209,7 @@ static void M_DrawStatsChars(void)
boolean dobottomarrow = (statisticsmenu.location < statisticsmenu.maxscroll);
INT32 location = statisticsmenu.location;
if (!statisticsmenu.maplist)
if (!statisticsmenu.maplist || !statisticsmenu.nummaps)
{
V_DrawCenteredThinString(BASEVIDWIDTH/2, 62, 0, "No chars!?");
return;
@ -6296,7 +6296,7 @@ static void M_DrawStatsGP(void)
boolean dobottomarrow = (statisticsmenu.location < statisticsmenu.maxscroll);
INT32 location = statisticsmenu.location;
if (!statisticsmenu.maplist)
if (!statisticsmenu.maplist || !statisticsmenu.nummaps)
{
V_DrawCenteredThinString(BASEVIDWIDTH/2, 62, 0, "No cups!?");
return;