mirror of
https://github.com/glest/glest-source.git
synced 2025-08-29 19:00:07 +02:00
- forgot to default ftp code to a default value (off) until ready
This commit is contained in:
@@ -370,7 +370,7 @@ MenuStateConnectedGame::MenuStateConnectedGame(Program *program, MainMenu *mainM
|
||||
findDirs(config.getPathListForType(ptTilesets), tileSets);
|
||||
|
||||
|
||||
if(config.getBool("EnableFTPXfer") == true) {
|
||||
if(config.getBool("EnableFTPXfer","false") == true) {
|
||||
ClientInterface *clientInterface = networkManager.getClientInterface();
|
||||
string serverUrl = clientInterface->getServerIpAddress() + ":61358";
|
||||
|
||||
|
@@ -86,7 +86,7 @@ ServerInterface::ServerInterface() {
|
||||
//serverSocket.bind(Config::getInstance().getInt("ServerPort",intToStr(GameConstants::serverPort).c_str()));
|
||||
serverSocket.setBindPort(Config::getInstance().getInt("ServerPort",intToStr(GameConstants::serverPort).c_str()));
|
||||
|
||||
if(Config::getInstance().getBool("EnableFTPXfer") == true) {
|
||||
if(Config::getInstance().getBool("EnableFTPXfer","false") == true) {
|
||||
std::pair<string,string> mapsPath;
|
||||
vector<string> pathList = Config::getInstance().getPathListForType(ptMaps);
|
||||
if(pathList.size() > 0) {
|
||||
|
Reference in New Issue
Block a user