diff options
author | James McLean <jrimclean@gmail.com> | 2015-06-08 13:18:18 -0400 |
---|---|---|
committer | James McLean <jrimclean@gmail.com> | 2015-06-08 13:18:18 -0400 |
commit | 45b453169a874a9f3c7116b652e32615c702d9a2 (patch) | |
tree | 82f5d46fffca1d7c98933b5626688c015e40c29d /core/io | |
parent | c76900beb8d1cbb9a648238b2f73fb5b3da4367b (diff) |
Fixed get_packet/put_packet bindings in PacketPeer.
Diffstat (limited to 'core/io')
-rw-r--r-- | core/io/packet_peer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/io/packet_peer.cpp b/core/io/packet_peer.cpp index be566471a8..875cace368 100644 --- a/core/io/packet_peer.cpp +++ b/core/io/packet_peer.cpp @@ -128,8 +128,8 @@ void PacketPeer::_bind_methods() { ObjectTypeDB::bind_method(_MD("get_var"),&PacketPeer::_bnd_get_var); ObjectTypeDB::bind_method(_MD("put_var", "var:var"),&PacketPeer::put_var); - ObjectTypeDB::bind_method(_MD("get_packet:Error"),&PacketPeer::_get_packet); - ObjectTypeDB::bind_method(_MD("put_packet", "buffer"),&PacketPeer::_get_packet); + ObjectTypeDB::bind_method(_MD("get_packet"),&PacketPeer::_get_packet); + ObjectTypeDB::bind_method(_MD("put_packet:Error", "buffer"),&PacketPeer::_put_packet); ObjectTypeDB::bind_method(_MD("get_packet_error:Error"),&PacketPeer::_get_packet_error); ObjectTypeDB::bind_method(_MD("get_available_packet_count"),&PacketPeer::get_available_packet_count); }; |