- forgot to default ftp code to a default value (off) until ready
This commit is contained in:
parent
e79147796f
commit
9afcbe97b8
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue