mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Merged Multi Player Project into main branch
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2144 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -39,6 +39,7 @@
|
||||
#include "SmokeEffects.h"
|
||||
#endif
|
||||
|
||||
#include "connect.h"
|
||||
#include "WorldMan.h"
|
||||
|
||||
/////////////////////////////////
|
||||
@@ -1173,6 +1174,14 @@ void ConfirmQuitToMainMenuMessageBoxCallBack( UINT8 bExitValue )
|
||||
gfExitOptionsAfterMessageBox = TRUE;
|
||||
SetOptionsExitScreen( MAINMENU_SCREEN );
|
||||
|
||||
if (is_networked)
|
||||
{
|
||||
// haydent
|
||||
server_disconnect();
|
||||
client_disconnect();
|
||||
|
||||
}
|
||||
|
||||
//We want to reinitialize the game
|
||||
ReStartingGame();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user