From 56533e6a75872fd9d2c2bf10771df96e1082bffd Mon Sep 17 00:00:00 2001 From: voidplayer <> Date: Mon, 2 Jun 2014 20:42:35 +0200 Subject: FIX: forgotten bind to get_available_packet_count to be able to call get_var only if needed and avoid editor errors --- core/io/packet_peer.cpp | 1 + 1 file changed, 1 insertion(+) 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); }; /***************/ -- cgit v1.2.3