mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2025-07-01 23:46:59 +00:00
send on correct socket
This commit is contained in:
parent
3db1f6773e
commit
c4e7b9a919
@ -223,7 +223,8 @@ void SyncResources(SOCKET Sock){
|
||||
|
||||
ModWarningConfirmed = false;
|
||||
|
||||
GameSend("WMODS_FOUND");
|
||||
std::string Data = "WMODS_FOUND";
|
||||
send(CSocket, (Data + "\n").c_str(), int(Data.size())+1, 0)
|
||||
|
||||
while (!Terminate && !ModWarningConfirmed) {
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(10));
|
||||
|
Loading…
x
Reference in New Issue
Block a user