1
This commit is contained in:
parent
69cc232be0
commit
42e3011811
@ -2408,6 +2408,9 @@ long long Room::GetGasInactiveTime()
|
||||
inactive_time = 12;
|
||||
}
|
||||
#endif
|
||||
if (IsMobaModeRoom()) {
|
||||
inactive_time = 12;
|
||||
}
|
||||
inactive_time = std::max((long long)0, inactive_time - acc_inactive_time_);
|
||||
if (IsNewerMap()) {
|
||||
inactive_time = 10;
|
||||
|
@ -834,7 +834,7 @@ void RoomMgr::AdjustCMJoin(cs::CMJoin* msg)
|
||||
{
|
||||
msg->set_force_enter_newbie_room(false);
|
||||
msg->set_pve_instance_id(0);
|
||||
#ifdef MYDEBUG
|
||||
#if 1
|
||||
const mt::Map* map_meta = mt::Map::GetById(msg->mapid());
|
||||
if (map_meta && map_meta->is_moba()) {
|
||||
msg->set_room_mode(kMobaMode);
|
||||
|
Loading…
x
Reference in New Issue
Block a user