1
This commit is contained in:
parent
b012e23bfa
commit
a3c4164a72
@ -2055,7 +2055,14 @@ void Human::GenBattleReportData(a8::MutableXObject* params)
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (room->GetAliveTeamNum() == 1) {
|
||||
std::set<Human*>* alive_team = room->GetAliveTeam();
|
||||
if (alive_team == team_members) {
|
||||
rank = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
stats.rank = rank;
|
||||
params->SetVal("account_id", account_id);
|
||||
params->SetVal("map_id", room->map_meta->i->map_id());
|
||||
params->SetVal("map_name", room->map_meta->i->map_name());
|
||||
|
Loading…
x
Reference in New Issue
Block a user