El modo demo ya no se pausa al perder el foco
This commit is contained in:
@@ -3224,7 +3224,10 @@ void Game::checkEvents()
|
||||
{
|
||||
if (eventHandler->window.event == SDL_WINDOWEVENT_FOCUS_LOST)
|
||||
{
|
||||
pause(true);
|
||||
if (!demo.enabled)
|
||||
{
|
||||
pause(true);
|
||||
}
|
||||
}
|
||||
|
||||
if (eventHandler->window.event == SDL_WINDOWEVENT_FOCUS_GAINED)
|
||||
|
||||
Reference in New Issue
Block a user