This commit is contained in:
aozhiwei 2022-12-21 12:39:05 +08:00
parent 4c515b4b08
commit 5bd5edcc8f

View File

@ -2636,10 +2636,10 @@ void Human::SendBattleReport()
SendGameOver();
} else {
long long room_uuid = room->GetRoomUuid();
std::string account_id = account_id;
std::string sender_id = account_id;
HttpProxy::Instance()->HttpGet
(
[room_uuid, account_id, data]
[room_uuid, sender_id, data]
(bool ok, a8::XObject* rsp_obj, f8::HttpContext* ctx)
{
if (!ok) {
@ -2653,7 +2653,7 @@ void Human::SendBattleReport()
if (!room) {
return;
}
Player* hum = room->GetPlayerByAccountId(account_id);
Player* hum = room->GetPlayerByAccountId(sender_id);
if (!hum) {
return;
}