Skip to content

Commit

Permalink
Qt: Fix game not getting paused when exit prompt is open
Browse files Browse the repository at this point in the history
  • Loading branch information
spycrab committed May 25, 2018
1 parent a68b820 commit 7931d2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/DolphinQt2/MainWindow.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7931d2d

Please sign in to comment.