1
This commit is contained in:
parent
6c9e958253
commit
81fb8fd7ab
@ -828,10 +828,9 @@ void RoomMgr::AdjustCMJoin(cs::CMJoin* msg)
|
||||
msg->set_force_enter_newbie_room(false);
|
||||
msg->set_pve_instance_id(0);
|
||||
#ifdef DEBUG
|
||||
if (!f8::IsTestEnv()) {
|
||||
if (App::Instance()->instance_id == 6) {
|
||||
msg->set_room_mode(kMobaMode);
|
||||
}
|
||||
const mt::Map* map_meta = mt::Map::GetById(msg->mapid());
|
||||
if (map_meta && map_meta->is_moba()) {
|
||||
msg->set_room_mode(kMobaMode);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user