Map name transfer

This commit is contained in:
Anonymous275
2020-04-15 03:04:26 +03:00
parent d50f205787
commit 8d56873335
2 changed files with 4 additions and 1 deletions

View File

@@ -22,6 +22,9 @@ int ParseAndSend(SOCKET Client, std::string Data){
case 'b' :
FileSent = false;
break;
case 'M' :
Response = MapName;
break;
}
std::string FLocation = Data.substr(1);
if(FileList.find(FLocation) == std::string::npos)return -1;