Qt: Fix game not getting paused when exit prompt is open

This commit is contained in:
spycrab 2018-05-25 03:53:05 +02:00
parent a68b8202e1
commit 7931d2d00d
1 changed files with 1 additions and 1 deletions

View File

@ -601,7 +601,7 @@ bool MainWindow::RequestStop()
const Core::State state = Core::GetState(); const Core::State state = Core::GetState();
// Only pause the game, if NetPlay is not running // Only pause the game, if NetPlay is not running
bool pause = Settings::Instance().GetNetPlayClient() != nullptr; bool pause = !m_netplay_dialog->isVisible();
if (pause) if (pause)
Core::SetState(Core::State::Paused); Core::SetState(Core::State::Paused);