diff --git a/server/gameserver/human.cc b/server/gameserver/human.cc index 208822a..ad6ceff 100644 --- a/server/gameserver/human.cc +++ b/server/gameserver/human.cc @@ -2322,6 +2322,7 @@ void Human::GenBattleReportData(a8::MutableXObject* params) } stats.rank = rank; params->SetVal("account_id", account_id); + params->SetVal("session_id", session_id); params->SetVal("map_id", room->GetMapMeta()->i->map_id()); params->SetVal("map_name", room->GetMapMeta()->i->map_name()); params->SetVal("map_tpl_name", room->GetMapTplName()); @@ -2487,6 +2488,7 @@ void Human::GenZbModeBattleReportData(a8::MutableXObject* params) } stats.rank = rank; params->SetVal("account_id", account_id); + params->SetVal("session_id", session_id); params->SetVal("map_id", room->GetMapMeta()->i->map_id()); params->SetVal("game_time", time(nullptr)); params->SetVal("rank", rank);