From 341f8e6d2bb395c7cfebb817a5e18674f6f1dae9 Mon Sep 17 00:00:00 2001 From: reduz Date: Sun, 24 Jan 2016 16:59:39 -0300 Subject: [PATCH] -remved p_peer is null error messages, fixes #1150 --- core/io/packet_peer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/io/packet_peer.cpp b/core/io/packet_peer.cpp index 6cb3daa7ac9..973a2ec9a53 100644 --- a/core/io/packet_peer.cpp +++ b/core/io/packet_peer.cpp @@ -243,7 +243,7 @@ int PacketPeerStream::get_max_packet_size() const { void PacketPeerStream::set_stream_peer(const Ref &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