1
This commit is contained in:
parent
fa15c63e36
commit
5f5496af41
@ -1394,9 +1394,12 @@ void Human::SendGameOver()
|
||||
FillSMGameOver(msg);
|
||||
SendNotifyMsg(msg);
|
||||
} else {
|
||||
if (!GetTeam()->sending_battlereport) {
|
||||
GetTeam()->sending_battlereport = true;
|
||||
GetTeam()->SendTeamBattleReport(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (IsEntitySubType(EST_Player)) {
|
||||
if (!is_game_end_) {
|
||||
GameLog::Instance()->GameEnd((Player*)this);
|
||||
|
@ -177,5 +177,5 @@ bool Team::HasPlayer()
|
||||
|
||||
void Team::SendTeamBattleReport(Human* sender)
|
||||
{
|
||||
|
||||
already_report_battle = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user