mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-15 04:06:14 +00:00
Map name transfer
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user