This commit is contained in:
aozhiwei 2024-08-21 17:25:53 +08:00
parent bc6ffe3eec
commit 43793fdd3c

View File

@ -1133,7 +1133,7 @@ void Human::FillSMGameOver(cs::SMGameOver& msg)
room->GetMobaTeamB()->FillMFSettlementNew(p.get()); room->GetMobaTeamB()->FillMFSettlementNew(p.get());
*msg.mutable_common_settlement()->add_team_list() = *p; *msg.mutable_common_settlement()->add_team_list() = *p;
} else { } else {
room->GetMobaTeamB()->FillMFSettlementNew(p.get()); room->GetMobaTeamA()->FillMFSettlementNew(p.get());
*msg.mutable_common_settlement()->add_team_list() = *p; *msg.mutable_common_settlement()->add_team_list() = *p;
} }
} }
@ -1557,7 +1557,7 @@ void Human::SendGameOver()
} else { } else {
SendNotifyMsg(msg); SendNotifyMsg(msg);
} }
#ifdef MYDEBUG1 #ifdef MYDEBUG
if (IsPlayer()) { if (IsPlayer()) {
a8::XPrintf("SMGameOver:%s\n", {f8::PbToJson(&msg)}); a8::XPrintf("SMGameOver:%s\n", {f8::PbToJson(&msg)});
} }
@ -1584,7 +1584,7 @@ void Human::SendGameOver()
} else { } else {
SendNotifyMsg(msg); SendNotifyMsg(msg);
} }
#ifdef MYDEBUG1 #ifdef MYDEBUG
if (IsPlayer()) { if (IsPlayer()) {
a8::XPrintf("SMGameOver:%s\n", {f8::PbToJson(&msg)}); a8::XPrintf("SMGameOver:%s\n", {f8::PbToJson(&msg)});
} }