1
This commit is contained in:
parent
4c515b4b08
commit
5bd5edcc8f
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user