-remved p_peer is null error messages, fixes #1150
This commit is contained in:
parent
45b2fe7e8b
commit
341f8e6d2b
1 changed files with 1 additions and 1 deletions
|
@ -243,7 +243,7 @@ int PacketPeerStream::get_max_packet_size() const {
|
|||
|
||||
void PacketPeerStream::set_stream_peer(const Ref<StreamPeer> &p_peer) {
|
||||
|
||||
ERR_FAIL_COND(p_peer.is_null());
|
||||
//ERR_FAIL_COND(p_peer.is_null());
|
||||
|
||||
if (p_peer.ptr() != peer.ptr()) {
|
||||
ring_buffer.advance_read(ring_buffer.data_left()); // reset the ring buffer
|
||||
|
|
Loading…
Reference in a new issue