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_force_enter_newbie_room(false);
|
||||||
msg->set_pve_instance_id(0);
|
msg->set_pve_instance_id(0);
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
if (!f8::IsTestEnv()) {
|
const mt::Map* map_meta = mt::Map::GetById(msg->mapid());
|
||||||
if (App::Instance()->instance_id == 6) {
|
if (map_meta && map_meta->is_moba()) {
|
||||||
msg->set_room_mode(kMobaMode);
|
msg->set_room_mode(kMobaMode);
|
||||||
}
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user