From 8fa40c802ede620f14e784d6a451a09d21d5fd31 Mon Sep 17 00:00:00 2001 From: Sergio Valor Date: Wed, 27 Sep 2023 18:28:59 +0200 Subject: [PATCH] FIX: Se puede saltar el modo demo pulsando cualquier tecla de juego --- source/game.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/game.cpp b/source/game.cpp index 72c0f27..741a1c4 100644 --- a/source/game.cpp +++ b/source/game.cpp @@ -3089,11 +3089,14 @@ void Game::checkGameInput() } // Comprueba el input de pausa - if (input->checkInput(input_pause, REPEAT_FALSE)) + //if (input->checkInput(input_pause, REPEAT_FALSE)) + if (input->checkAnyInput()) { section->name = SECTION_PROG_TITLE; } + + // Incrementa el contador de la demo if (demo.counter < TOTAL_DEMO_DATA) {