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

View File

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