summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorJ08nY <johny@neuromancer.sk>2016-06-15 22:46:32 +0200
committerJ08nY <johny@neuromancer.sk>2016-06-16 14:15:44 +0200
commit6bbc53ee18f273cd45a332847a9053a268b3937c (patch)
tree5a67d9a87f8588d6c4263fe7eb3560640c61f47b /core
parentbb2cac4515c5afdb53cb3c0fd4518c1f92c296b7 (diff)
Fixed PacketPeer.get_var() return type in docs
Diffstat (limited to 'core')
-rw-r--r--core/io/packet_peer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/packet_peer.cpp b/core/io/packet_peer.cpp
index 22b8bc0b39..8e96697ac9 100644
--- a/core/io/packet_peer.cpp
+++ b/core/io/packet_peer.cpp
@@ -126,7 +126,7 @@ Error PacketPeer::_get_packet_error() const {
void PacketPeer::_bind_methods() {
- ObjectTypeDB::bind_method(_MD("get_var"),&PacketPeer::_bnd_get_var);
+ ObjectTypeDB::bind_method(_MD("get_var:Variant"),&PacketPeer::_bnd_get_var);
ObjectTypeDB::bind_method(_MD("put_var", "var:Variant"),&PacketPeer::put_var);
ObjectTypeDB::bind_method(_MD("get_packet"),&PacketPeer::_get_packet);
ObjectTypeDB::bind_method(_MD("put_packet:Error", "buffer"),&PacketPeer::_put_packet);