1
This commit is contained in:
parent
4c515b4b08
commit
5bd5edcc8f
@ -2636,10 +2636,10 @@ void Human::SendBattleReport()
|
|||||||
SendGameOver();
|
SendGameOver();
|
||||||
} else {
|
} else {
|
||||||
long long room_uuid = room->GetRoomUuid();
|
long long room_uuid = room->GetRoomUuid();
|
||||||
std::string account_id = account_id;
|
std::string sender_id = account_id;
|
||||||
HttpProxy::Instance()->HttpGet
|
HttpProxy::Instance()->HttpGet
|
||||||
(
|
(
|
||||||
[room_uuid, account_id, data]
|
[room_uuid, sender_id, data]
|
||||||
(bool ok, a8::XObject* rsp_obj, f8::HttpContext* ctx)
|
(bool ok, a8::XObject* rsp_obj, f8::HttpContext* ctx)
|
||||||
{
|
{
|
||||||
if (!ok) {
|
if (!ok) {
|
||||||
@ -2653,7 +2653,7 @@ void Human::SendBattleReport()
|
|||||||
if (!room) {
|
if (!room) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Player* hum = room->GetPlayerByAccountId(account_id);
|
Player* hum = room->GetPlayerByAccountId(sender_id);
|
||||||
if (!hum) {
|
if (!hum) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user