Qt: Fix game not getting paused when exit prompt is open
This commit is contained in:
parent
a68b8202e1
commit
7931d2d00d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue