fixed changing back link in hall of fame to "next" only when needed
authorHolger Schemel <info@artsoft.org>
Wed, 11 May 2022 16:43:13 +0000 (18:43 +0200)
committerHolger Schemel <info@artsoft.org>
Wed, 11 May 2022 16:43:13 +0000 (18:43 +0200)
src/screens.c

index 326fa677c0973404caa4abd28f6dfb97b7746e92..d7b7aab06fec3fab3ef4c56128fcd1eede25b47d 100644 (file)
@@ -5311,7 +5311,7 @@ static void DrawHallOfFame_setScoreEntries(void)
   if (score_entry_current == NULL)
     score_entry_current = getFirstValidTreeInfoEntry(score_entries);
 
-  if (score_entries != NULL && scores.last_added >= 0)
+  if (score_entries != NULL && scores.continue_playing)
     setString(&score_entries->node_group->name, BACKLINK_TEXT_NEXT);
 
   // ("score_entries" and "score_entry_current" may be NULL here)