This commit is contained in:
aozhiwei 2022-11-24 15:23:02 +08:00
parent 98b1d110ff
commit 9d74243158

View File

@ -2157,6 +2157,14 @@ void Human::GenBattleReportData(a8::MutableXObject* params)
GetTeam()->team_rank = room->GetAliveTeamNum();
stats.pvp_settlement_type = GetTeam()->GetMemberNum() > 1 ? 1 : 0;
stats.settlement_color = 1;
} else {
if (room->GetAliveTeamNum() == 1) {
if (room->GetAliveTeam() == GetTeam()) {
GetTeam()->team_rank = 1;
stats.pvp_settlement_type = GetTeam()->GetMemberNum() > 1 ? 1 : 0;
stats.settlement_color = 1;
}
}
}
if (rank < 10) {
stats.settlement_color = 1;