Solucionado el problema de no cerrar el juego durante la demo o las instrucciones

This commit is contained in:
2022-10-14 09:52:15 +02:00
parent f4215384fe
commit 112c3afc76
6 changed files with 25 additions and 13 deletions

View File

@@ -236,7 +236,7 @@ void Instructions::checkEventHandler()
}
// Bucle para la pantalla de instrucciones
void Instructions::run(mode_e mode)
section_t Instructions::run(mode_e mode)
{
this->mode = mode;
@@ -245,4 +245,6 @@ void Instructions::run(mode_e mode)
update();
render();
}
return section;
}