From 38a4289b961e4021e3d86af402e166fdfb9e1bb6 Mon Sep 17 00:00:00 2001 From: muxirr Date: Sat, 2 Nov 2024 23:33:05 +0800 Subject: [PATCH] fix bug --- client/source/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/source/client.cpp b/client/source/client.cpp index 157eda7..8c84cb4 100644 --- a/client/source/client.cpp +++ b/client/source/client.cpp @@ -168,7 +168,7 @@ void login_to_server(HWND hwnd) } std::thread([&]() - {while(running){ + { while(running){ using namespace std::chrono; std::string route = id_player == 1 ? "/update_1" : "/update_2"; std::string body = std::to_string((id_player == 1 ? progress_1 : progress_2).load());