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