Map name transfer

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

No files matched your search

+3
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;