From 4d4ed4f0decab1daa329db8bb99f767c79a3f2a5 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Fri, 10 Mar 2023 16:36:28 +0800 Subject: [PATCH] 1 --- server/gameserver/pbutils.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/gameserver/pbutils.cc b/server/gameserver/pbutils.cc index 2638842c..f7065e0c 100644 --- a/server/gameserver/pbutils.cc +++ b/server/gameserver/pbutils.cc @@ -1431,18 +1431,18 @@ void Human::SendBattleSettlement() } #endif long long room_uuid = room->GetRoomUuid(); - std::string account_id = account_id; + std::string tmp_account_id = account_id; HttpProxy::Instance()->HttpGet ( - [room_uuid, account_id, data] + [room_uuid, tmp_account_id, data] (bool ok, a8::XObject* rsp_obj, f8::HttpContext* ctx) { Room* room = RoomMgr::Instance()->GetRoomByUuid(room_uuid); if (!room) { return; } - Player* hum = room->GetPlayerByAccountId(account_id); + Player* hum = room->GetPlayerByAccountId(tmp_account_id); if (!hum) { return; }