mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2025-07-04 00:47:23 +00:00
Fixed launcher crash in wine!
This commit is contained in:
parent
b40ab5e36a
commit
e70cf0f877
@ -139,7 +139,8 @@ void TCPClientMain(const std::string& IP,int Port){
|
|||||||
Terminate = true;
|
Terminate = true;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
getsockname(TCPSock, (SOCKADDR *)&ServerAddr, (int *)sizeof(ServerAddr));
|
info("Connected!");
|
||||||
|
|
||||||
char Code = 'C';
|
char Code = 'C';
|
||||||
send(TCPSock, &Code, 1, 0);
|
send(TCPSock, &Code, 1, 0);
|
||||||
SyncResources(TCPSock);
|
SyncResources(TCPSock);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user