- more ftp bugfixes
This commit is contained in:
parent
c8c77f75e3
commit
385dd8733a
|
@ -72,7 +72,7 @@ void FTPClientThread::getMapFromServer(string mapFileName) {
|
||||||
FTP_Client_ResultType result = ftp_crt_FAIL;
|
FTP_Client_ResultType result = ftp_crt_FAIL;
|
||||||
|
|
||||||
string destFile = this->mapsPath.second + mapFileName;
|
string destFile = this->mapsPath.second + mapFileName;
|
||||||
if(EndsWith(destFile,".mgm") && EndsWith(destFile,".gbm")) {
|
if(EndsWith(destFile,".mgm") == false && EndsWith(destFile,".gbm") == false) {
|
||||||
destFile += ".mgm";
|
destFile += ".mgm";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user