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