diff options
author | reduz <reduzio@gmail.com> | 2016-01-24 16:59:39 -0300 |
---|---|---|
committer | reduz <reduzio@gmail.com> | 2016-01-24 16:59:39 -0300 |
commit | 341f8e6d2bb395c7cfebb817a5e18674f6f1dae9 (patch) | |
tree | b9acaf6fdae7454172a38fbf4d1a5fa9685a9c2c /core/io | |
parent | 45b2fe7e8bbf41cf8e2c1526d28707e680a41538 (diff) |
-remved p_peer is null error messages, fixes #1150
Diffstat (limited to 'core/io')
-rw-r--r-- | core/io/packet_peer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/packet_peer.cpp b/core/io/packet_peer.cpp index 6cb3daa7ac..973a2ec9a5 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<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 |