mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-04-03 06:16:15 +00:00
check fix
This commit is contained in:
@@ -90,12 +90,7 @@ void ServerSend(std::string Data, bool Rel){
|
||||
}
|
||||
}
|
||||
|
||||
void NetReset(){
|
||||
TCPTerminate = false;
|
||||
GConnected = false;
|
||||
Terminate = false;
|
||||
UlStatus = Sec("Ulstart");
|
||||
MStatus = " ";
|
||||
void ClosePublic(){
|
||||
if(UDPSock != (SOCKET)(-1)){
|
||||
debug(Sec("Terminating UDP Socket : ") + std::to_string(TCPSock));
|
||||
KillSocket(UDPSock);
|
||||
@@ -106,6 +101,15 @@ void NetReset(){
|
||||
KillSocket(TCPSock);
|
||||
}
|
||||
TCPSock = -1;
|
||||
}
|
||||
|
||||
void NetReset(){
|
||||
TCPTerminate = false;
|
||||
GConnected = false;
|
||||
Terminate = false;
|
||||
UlStatus = Sec("Ulstart");
|
||||
MStatus = " ";
|
||||
ClosePublic();
|
||||
if(GSocket != (SOCKET)(-1)){
|
||||
debug(Sec("Terminating GTCP Socket : ") + std::to_string(GSocket));
|
||||
KillSocket(GSocket);
|
||||
|
||||
Reference in New Issue
Block a user