diff --git a/source/glest_game/game/game.cpp b/source/glest_game/game/game.cpp index 1852b7ae6..112be0e77 100644 --- a/source/glest_game/game/game.cpp +++ b/source/glest_game/game/game.cpp @@ -1035,6 +1035,8 @@ void Game::quitGame(){ SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__); + NetworkManager::getInstance().end(); + program->setState(new BattleEnd(program, &stats)); }