From 6d1bc066bd838154f738c5662f527c11358329c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Valor=20Mart=C3=ADnez?= Date: Thu, 17 Nov 2022 20:13:53 +0100 Subject: [PATCH] =?UTF-8?q?La=20tabla=20de=20records=20no=20sale=20si=20no?= =?UTF-8?q?=20est=C3=A1=20el=20modo=20online=20activo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/title.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source/title.cpp b/source/title.cpp index 218bbc1..9f715a7 100644 --- a/source/title.cpp +++ b/source/title.cpp @@ -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;