1
This commit is contained in:
parent
b086b5219c
commit
7c44186ea3
@ -1396,9 +1396,15 @@ void Human::SendGameOver()
|
||||
SendNotifyMsg(msg);
|
||||
} else {
|
||||
CalcStats();
|
||||
if (!GetTeam()->sending_battlereport) {
|
||||
GetTeam()->sending_battlereport = true;
|
||||
GetTeam()->SendTeamBattleReport(this);
|
||||
if (stats->team_statsed) {
|
||||
if (!GetTeam()->sending_battlereport) {
|
||||
GetTeam()->sending_battlereport = true;
|
||||
GetTeam()->SendTeamBattleReport(this);
|
||||
}
|
||||
} else {
|
||||
cs::SMGameOver msg;
|
||||
FillSMGameOver(msg);
|
||||
SendNotifyMsg(msg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -58,6 +58,7 @@ class Human;
|
||||
class PlayerStats
|
||||
{
|
||||
public:
|
||||
bool team_statsed = false;
|
||||
int kills = 0;
|
||||
long long last_kill_frameno = 0;
|
||||
int damage_amount_in = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user