This commit is contained in:
aozhiwei 2024-04-19 21:16:14 +08:00
parent fc3f07e872
commit 3902c659ee

View File

@ -135,13 +135,6 @@ void RoomMgr::_CMReconnect(f8::MsgHdr* hdr, const cs::CMReconnect& msg)
}); });
return; return;
} }
#if 0
if (room->GetRoomMode() != kPvpMode) {
send_reconnect_failed(hdr->socket_handle, 1,
TEXT("battle_server_reconnect_failreason_only_chiji", "只有吃鸡模式支持重连"));
return;
}
#endif
Player* hum = room->GetPlayerByAccountId(msg.account_id()); Player* hum = room->GetPlayerByAccountId(msg.account_id());
if (!hum) { if (!hum) {
send_reconnect_failed(hdr->socket_handle, 1, send_reconnect_failed(hdr->socket_handle, 1,