1
This commit is contained in:
parent
be3bc185fc
commit
6c9e958253
@ -1498,11 +1498,23 @@ void Room::UpdateGasInactiveMoba()
|
||||
gas_data_.rad_new = gas_data_.new_area_meta->rad();
|
||||
gas_data_.gas_progress = 0;
|
||||
}
|
||||
TraverseHumanList
|
||||
(
|
||||
[] (Human* hum) -> bool
|
||||
{
|
||||
hum->RemoveBuffByEffectId(kBET_ThroughWall);
|
||||
hum->OnLand();
|
||||
if (hum->GetEntitySubType() == EST_Player) {
|
||||
GameLog::Instance()->GameStart((Player*)hum);
|
||||
}
|
||||
return true;
|
||||
});
|
||||
NotifyUiUpdate();
|
||||
ClearPostBattleAutoFreeList();
|
||||
OnBattleStart();
|
||||
NotifyGameStart();
|
||||
InitAndroidAI();
|
||||
sand_table_->OnGameStart();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -829,7 +829,9 @@ void RoomMgr::AdjustCMJoin(cs::CMJoin* msg)
|
||||
msg->set_pve_instance_id(0);
|
||||
#ifdef DEBUG
|
||||
if (!f8::IsTestEnv()) {
|
||||
msg->set_room_mode(kMobaMode);
|
||||
if (App::Instance()->instance_id == 6) {
|
||||
msg->set_room_mode(kMobaMode);
|
||||
}
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user