1
This commit is contained in:
parent
9258ab4c50
commit
2aa5254ae2
@ -1422,6 +1422,9 @@ void Human::SendBattleReport()
|
||||
if (room->GetBattleStartFrameNo() <= 0) {
|
||||
return;
|
||||
}
|
||||
if (room->GetCustomBattle()) {
|
||||
return;
|
||||
}
|
||||
|
||||
std::shared_ptr<a8::MutableXObject> params = a8::MutableXObject::CreateObject();
|
||||
GenBattleReportData(params.get());
|
||||
|
@ -231,6 +231,9 @@ void Team::SendTeamBattleReport(Human* sender)
|
||||
if (room->GetBattleStartFrameNo() <= 0) {
|
||||
return;
|
||||
}
|
||||
if (room->GetCustomBattle()) {
|
||||
return;
|
||||
}
|
||||
std::shared_ptr<a8::MutableXObject> post_data = a8::MutableXObject::CreateObject();
|
||||
GenBattleReportData(player, post_data.get());
|
||||
std::string url;
|
||||
|
Loading…
x
Reference in New Issue
Block a user