summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorreduz <reduzio@gmail.com>2014-06-02 17:34:30 -0300
committerreduz <reduzio@gmail.com>2014-06-02 17:34:30 -0300
commit40e32b1fca820494d2aa71d8da70e5904d270997 (patch)
tree5dd0a4e9a07b9ff71613b27feecf37d2ff1218d9
parent6f0b4678e26c04abfc88c0226c803e78a108de98 (diff)
parent56533e6a75872fd9d2c2bf10771df96e1082bffd (diff)
Merge pull request #483 from voidplayer/voidplayer
FIX: forgotten bind to get_available_packet_count to be able to call get...
-rw-r--r--core/io/packet_peer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/io/packet_peer.cpp b/core/io/packet_peer.cpp
index f67a10df2e..37fc9c4a0a 100644
--- a/core/io/packet_peer.cpp
+++ b/core/io/packet_peer.cpp
@@ -112,6 +112,7 @@ void PacketPeer::_bind_methods() {
ObjectTypeDB::bind_method(_MD("get_var"),&PacketPeer::_bnd_get_var);
ObjectTypeDB::bind_method(_MD("put_var", "var:Variant"),&PacketPeer::put_var);
+ ObjectTypeDB::bind_method(_MD("get_available_packet_count"),&PacketPeer::get_available_packet_count);
};
/***************/