diff options
| author | Ignacio Etcheverry | 2017-08-09 13:19:41 +0200 |
|---|---|---|
| committer | Ignacio Etcheverry | 2017-08-10 07:17:50 +0200 |
| commit | 2f290038d63b55e6ce40296602f36bc98ab26015 (patch) | |
| tree | 170fd3a3096625b57ea2dc32fdee096565b161b0 /core/io/packet_peer_udp.cpp | |
| parent | 1e74f27f8fe962f51e6b1786f861c89863492745 (diff) | |
| download | godot-2f290038d63b55e6ce40296602f36bc98ab26015.tar.gz godot-2f290038d63b55e6ce40296602f36bc98ab26015.tar.zst godot-2f290038d63b55e6ce40296602f36bc98ab26015.zip | |
Diffstat (limited to 'core/io/packet_peer_udp.cpp')
| -rw-r--r-- | core/io/packet_peer_udp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/io/packet_peer_udp.cpp b/core/io/packet_peer_udp.cpp index 8bc3241cc..d1729819a 100644 --- a/core/io/packet_peer_udp.cpp +++ b/core/io/packet_peer_udp.cpp @@ -59,9 +59,9 @@ Error PacketPeerUDP::_set_dest_address(const String &p_address, int p_port) { void PacketPeerUDP::_bind_methods() { - ClassDB::bind_method(D_METHOD("listen:Error", "port", "bind_address", "recv_buf_size"), &PacketPeerUDP::listen, DEFVAL("*"), DEFVAL(65536)); + ClassDB::bind_method(D_METHOD("listen", "port", "bind_address", "recv_buf_size"), &PacketPeerUDP::listen, DEFVAL("*"), DEFVAL(65536)); ClassDB::bind_method(D_METHOD("close"), &PacketPeerUDP::close); - ClassDB::bind_method(D_METHOD("wait:Error"), &PacketPeerUDP::wait); + ClassDB::bind_method(D_METHOD("wait"), &PacketPeerUDP::wait); ClassDB::bind_method(D_METHOD("is_listening"), &PacketPeerUDP::is_listening); ClassDB::bind_method(D_METHOD("get_packet_ip"), &PacketPeerUDP::_get_packet_ip); //ClassDB::bind_method(D_METHOD("get_packet_address"),&PacketPeerUDP::_get_packet_address); |
