mirror of
https://github.com/glest/glest-source.git
synced 2025-08-23 16:32:53 +02:00
- bugfix for end of game crash (end the network interface)
This commit is contained in:
@@ -1035,6 +1035,8 @@ void Game::quitGame(){
|
|||||||
|
|
||||||
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
|
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
|
||||||
|
|
||||||
|
NetworkManager::getInstance().end();
|
||||||
|
|
||||||
program->setState(new BattleEnd(program, &stats));
|
program->setState(new BattleEnd(program, &stats));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user