This commit is contained in:
aozhiwei 2023-03-22 11:51:11 +08:00
parent fa15c63e36
commit 5f5496af41
2 changed files with 5 additions and 2 deletions

View File

@ -1394,7 +1394,10 @@ void Human::SendGameOver()
FillSMGameOver(msg); FillSMGameOver(msg);
SendNotifyMsg(msg); SendNotifyMsg(msg);
} else { } else {
GetTeam()->SendTeamBattleReport(this); if (!GetTeam()->sending_battlereport) {
GetTeam()->sending_battlereport = true;
GetTeam()->SendTeamBattleReport(this);
}
} }
} }
if (IsEntitySubType(EST_Player)) { if (IsEntitySubType(EST_Player)) {

View File

@ -177,5 +177,5 @@ bool Team::HasPlayer()
void Team::SendTeamBattleReport(Human* sender) void Team::SendTeamBattleReport(Human* sender)
{ {
already_report_battle = true;
} }