From e08b6c9a9c3a4035a99496cd064af2629c5b1f68 Mon Sep 17 00:00:00 2001 From: Paul Joannon Date: Fri, 12 Jan 2018 14:25:05 +0100 Subject: [PATCH] fix set_stream_peer binding in PacketPeer --- 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 0a54a84c8cb..bd851ebb6d7 100644 --- a/core/io/packet_peer.cpp +++ b/core/io/packet_peer.cpp @@ -155,7 +155,7 @@ void PacketPeerStream::_set_stream_peer(REF p_peer) { void PacketPeerStream::_bind_methods() { - ClassDB::bind_method(D_METHOD("set_stream_peer", "peer"), &PacketPeerStream::_set_stream_peer); + ClassDB::bind_method(D_METHOD("set_stream_peer", "peer"), &PacketPeerStream::set_stream_peer); ClassDB::bind_method(D_METHOD("get_stream_peer"), &PacketPeerStream::get_stream_peer); ClassDB::bind_method(D_METHOD("set_input_buffer_max_size", "max_size_bytes"), &PacketPeerStream::set_input_buffer_max_size); ClassDB::bind_method(D_METHOD("set_output_buffer_max_size", "max_size_bytes"), &PacketPeerStream::set_output_buffer_max_size);