fix gui not responding when the game is paused

This commit is contained in:
Alexis Murzeau 2022-08-08 19:29:16 +02:00
parent 54a217c27b
commit ab2e00a642
1 changed files with 1 additions and 1 deletions

View File

@ -898,7 +898,7 @@ int winmain::ProcessWindowMessages()
{
static auto idleWait = 0;
SDL_Event event;
if (has_focus && !single_step)
if (has_focus)
{
idleWait = static_cast<int>(TargetFrameTime.count());
while (SDL_PollEvent(&event))