修复组队结算问题
This commit is contained in:
parent
c75403bc0d
commit
10f768becf
@ -587,6 +587,9 @@ void Human::FillSMGameOver(cs::SMGameOver& msg)
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!dead && GetAliveTeamNum() == 1) {
|
||||
rank = 1;
|
||||
}
|
||||
|
||||
msg.set_team_id(team_id);
|
||||
msg.set_team_rank(rank);
|
||||
@ -2029,7 +2032,7 @@ void Human::InternalSendGameOver()
|
||||
on_error,
|
||||
url.c_str(),
|
||||
*params,
|
||||
rand()
|
||||
room->room_uuid
|
||||
);
|
||||
delete params;
|
||||
sending_gameover_ = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user