This commit is contained in:
aozhiwei 2024-04-03 17:14:44 +08:00
parent 392c01e20c
commit d9f3fc164d
2 changed files with 3 additions and 3 deletions

View File

@ -1708,7 +1708,7 @@ void Human::SendGameOver()
} else {
SendNotifyMsg(msg);
}
#ifdef MYDEBUG
#ifdef MYDEBUG1
if (IsPlayer()) {
a8::XPrintf("SMGameOver:%s\n", {f8::PbToJson(&msg)});
}
@ -1735,7 +1735,7 @@ void Human::SendGameOver()
} else {
SendNotifyMsg(msg);
}
#ifdef MYDEBUG
#ifdef MYDEBUG1
if (IsPlayer()) {
a8::XPrintf("SMGameOver:%s\n", {f8::PbToJson(&msg)});
}

View File

@ -626,7 +626,7 @@ bool Team::AllIsDead()
void Team::TrySendTeamBattleReport(Human* sender)
{
if (!sending_battlereport_) {
if (!sending_battlereport_ && !already_report_battle_) {
sending_battlereport_ = true;
SendTeamBattleReport(sender);
}