1
This commit is contained in:
parent
e9a28bed5b
commit
ec999f115a
@ -231,11 +231,13 @@ void RoomMgr::_CMReconnect(f8::MsgHdr& hdr, const cs::CMReconnect& msg)
|
|||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
#if 0
|
||||||
if (room->GetRoomMode() != kPvpMode) {
|
if (room->GetRoomMode() != kPvpMode) {
|
||||||
send_reconnect_failed(hdr.socket_handle, 1,
|
send_reconnect_failed(hdr.socket_handle, 1,
|
||||||
TEXT("battle_server_reconnect_failreason_only_chiji", "只有吃鸡模式支持重连"));
|
TEXT("battle_server_reconnect_failreason_only_chiji", "只有吃鸡模式支持重连"));
|
||||||
return;
|
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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user