This commit is contained in:
aozhiwei 2024-02-05 14:02:59 +08:00
parent 3d4838b8b8
commit 95912c3465

View File

@ -199,6 +199,9 @@ void Team::SendTeamBattleReport(Human* sender)
if (room->GetBattleStartFrameNo() <= 0) { if (room->GetBattleStartFrameNo() <= 0) {
return; return;
} }
if (IsViewTeam()) {
return;
}
std::shared_ptr<a8::MutableXObject> post_data = a8::MutableXObject::CreateObject(); std::shared_ptr<a8::MutableXObject> post_data = a8::MutableXObject::CreateObject();
GenBattleReportData(player, post_data.get()); GenBattleReportData(player, post_data.get());
#ifdef MYDEBUG #ifdef MYDEBUG