La tabla de records no sale si no está el modo online activo

This commit is contained in:
2022-11-17 20:13:53 +01:00
parent 975078307f
commit 6d1bc066bd

View File

@@ -978,6 +978,14 @@ section_t Title::runInstructions(mode_e mode)
// Ejecuta la parte donde se muestra la tabla de puntuaciones
section_t Title::runHiScoreTable(mode_hiScoreTable_e mode)
{
if (!options->online.enabled)
{
section.name = PROG_SECTION_TITLE;
section.subsection = TITLE_SECTION_1;
return section;
}
hiScoreTable = new HiScoreTable(renderer, screen, asset, lang, options);
section = hiScoreTable->run(mode);
delete hiScoreTable;