1
This commit is contained in:
parent
392c01e20c
commit
d9f3fc164d
@ -1708,7 +1708,7 @@ void Human::SendGameOver()
|
|||||||
} else {
|
} else {
|
||||||
SendNotifyMsg(msg);
|
SendNotifyMsg(msg);
|
||||||
}
|
}
|
||||||
#ifdef MYDEBUG
|
#ifdef MYDEBUG1
|
||||||
if (IsPlayer()) {
|
if (IsPlayer()) {
|
||||||
a8::XPrintf("SMGameOver:%s\n", {f8::PbToJson(&msg)});
|
a8::XPrintf("SMGameOver:%s\n", {f8::PbToJson(&msg)});
|
||||||
}
|
}
|
||||||
@ -1735,7 +1735,7 @@ void Human::SendGameOver()
|
|||||||
} else {
|
} else {
|
||||||
SendNotifyMsg(msg);
|
SendNotifyMsg(msg);
|
||||||
}
|
}
|
||||||
#ifdef MYDEBUG
|
#ifdef MYDEBUG1
|
||||||
if (IsPlayer()) {
|
if (IsPlayer()) {
|
||||||
a8::XPrintf("SMGameOver:%s\n", {f8::PbToJson(&msg)});
|
a8::XPrintf("SMGameOver:%s\n", {f8::PbToJson(&msg)});
|
||||||
}
|
}
|
||||||
|
@ -626,7 +626,7 @@ bool Team::AllIsDead()
|
|||||||
|
|
||||||
void Team::TrySendTeamBattleReport(Human* sender)
|
void Team::TrySendTeamBattleReport(Human* sender)
|
||||||
{
|
{
|
||||||
if (!sending_battlereport_) {
|
if (!sending_battlereport_ && !already_report_battle_) {
|
||||||
sending_battlereport_ = true;
|
sending_battlereport_ = true;
|
||||||
SendTeamBattleReport(sender);
|
SendTeamBattleReport(sender);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user