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