New: refeta la lògica d'eixir o apagar el sistema

This commit is contained in:
2025-06-12 20:25:59 +02:00
parent 6c707fa178
commit 99ffe9f7a7
6 changed files with 22 additions and 52 deletions

View File

@@ -12,7 +12,7 @@ namespace globalEvents
{
case SDL_EVENT_QUIT: // Evento de salida de la aplicación
section::name = section::Name::QUIT;
section::options = section::Options::QUIT_FROM_EVENT;
section::options = section::Options::NONE;
return;
case SDL_EVENT_RENDER_DEVICE_RESET: