- bugfix for end of game crash (end the network interface)

This commit is contained in:
Mark Vejvoda
2010-06-24 11:27:21 +00:00
parent 121ebf6ca2
commit 475da10605

View File

@@ -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));
}