summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-06-08 14:23:54 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-06-08 14:23:54 -0300
commitbc6d91c8973619a6c4ce54a140197ba93d184cec (patch)
tree82f5d46fffca1d7c98933b5626688c015e40c29d /core
parentc76900beb8d1cbb9a648238b2f73fb5b3da4367b (diff)
parent45b453169a874a9f3c7116b652e32615c702d9a2 (diff)
Merge pull request #2051 from jrimclean/master
oops, thanks
Diffstat (limited to 'core')
-rw-r--r--core/io/packet_peer.cpp4
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);
};