NetPlay: Allow hosts to stop the game by closing the game window

This commit is contained in:
Jasper St. Pierre committed 2013-08-14 18:16:05 -04:00
1 parent 92f8d79574
commit 5241deaebe
3 files changed
+15 -1

No files matched your search

+1
View File
@@ -1049,6 +1049,7 @@ void CFrame::DoStop()
DoRecordingSave();
if(Movie::IsPlayingInput() || Movie::IsRecordingInput())
Movie::EndPlayInput(false);
NetPlay::StopGame();
wxBeginBusyCursor();
BootManager::Stop();