From 12f3bc83b3c4f94287a2ecbfcd6ccb2ab9d35e25 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Wed, 12 Nov 2014 11:28:23 -0300 Subject: [PATCH] missing bind --- core/io/packet_peer_udp.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/core/io/packet_peer_udp.cpp b/core/io/packet_peer_udp.cpp index 60f56ed28a3..5d2a49632dc 100644 --- a/core/io/packet_peer_udp.cpp +++ b/core/io/packet_peer_udp.cpp @@ -24,6 +24,7 @@ void PacketPeerUDP::_bind_methods() { ObjectTypeDB::bind_method(_MD("is_listening"),&PacketPeerUDP::is_listening); ObjectTypeDB::bind_method(_MD("get_packet_ip"),&PacketPeerUDP::_get_packet_ip); ObjectTypeDB::bind_method(_MD("get_packet_address"),&PacketPeerUDP::_get_packet_address); + ObjectTypeDB::bind_method(_MD("get_packet_port"),&PacketPeerUDP::_get_packet_port); ObjectTypeDB::bind_method(_MD("set_send_address","address","port"),&PacketPeerUDP::set_send_address);