This commit is contained in:
aozhiwei 2023-06-25 20:57:14 +08:00
parent aabe64715b
commit fd75ca2301

View File

@ -17,6 +17,7 @@
#include "matchteam.h"
#include "httpproxy.h"
#include "mapmgr.h"
#include "debugcmd.h"
#include "mt/Param.h"
#include "mt/Text.h"
@ -797,6 +798,11 @@ void RoomMgr::AdjustCMJoin(cs::CMJoin* msg)
msg->set_force_enter_newbie_room(true);
#endif
#endif
#endif
#ifdef DEBUG
if (DebugCmd::Enable()) {
msg->set_room_mode(kPvpRankMode);
}
#endif
if (msg->room_mode() < kPvpMode ||
msg->room_mode() >= kRoomModeEnd) {