This commit is contained in:
aozhiwei 2024-04-16 19:56:18 +08:00
parent 2447a1c50d
commit 3e46f18281

View File

@ -1078,11 +1078,13 @@ void Human::FillSMGameOver(cs::SMGameOver& msg)
return true; return true;
}); });
} }
#if 0
if (GetNetData()->GetBattleTimes() < 10) { if (GetNetData()->GetBattleTimes() < 10) {
msg.set_star_num(10); msg.set_star_num(10);
} else { } else {
msg.set_star_num(mt::Param::GetStarNum(stats->rank)); msg.set_star_num(mt::Param::GetStarNum(stats->rank));
} }
#endif
if (room->GetCustomBattle()) { if (room->GetCustomBattle()) {
msg.mutable_settlement_new()->set_custom_battle(1); msg.mutable_settlement_new()->set_custom_battle(1);
} else { } else {