diff options
| author | Rachel Bryk <RachelBryk@gmail.com> | 2013-09-02 23:39:35 -0400 |
|---|---|---|
| committer | Rachel Bryk <RachelBryk@gmail.com> | 2013-09-02 23:39:57 -0400 |
| commit | 3ff81c9199221707684b401d4e1cf09e746d92db (patch) | |
| tree | 76b459e5f4fa50347a9847d1a5f84d72c8fc0dce /Source/Core/DolphinWX/Src/NetWindow.cpp | |
| parent | eb8e03fab5ddc955a4c1e78575902796cfbb2e9b (diff) | |
| parent | 7d09e72ac8ef892c44186007db77e37a4f4168c8 (diff) | |
Merge branch 'netplay-stop-fix'
Fixes issue 6511.
Diffstat (limited to 'Source/Core/DolphinWX/Src/NetWindow.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/Src/NetWindow.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/Core/DolphinWX/Src/NetWindow.cpp b/Source/Core/DolphinWX/Src/NetWindow.cpp index f962b58590..a31f9c1cb1 100644 --- a/Source/Core/DolphinWX/Src/NetWindow.cpp +++ b/Source/Core/DolphinWX/Src/NetWindow.cpp @@ -650,8 +650,6 @@ void PadMapDiag::OnAdjust(wxCommandEvent& event) void NetPlay::StopGame() { - if (netplay_server != NULL) - netplay_server->StopGame(); - - // TODO: allow non-hosting clients to close the window + if (netplay_client != NULL) + netplay_client->Stop(); } |
