diff options
author | Dana Olson <dana@shineuponthee.com> | 2015-01-01 22:22:24 -0500 |
---|---|---|
committer | Dana Olson <dana@shineuponthee.com> | 2015-01-01 22:22:24 -0500 |
commit | b0509bf8f0c437e4693d7f7e5dce99cec78ce15f (patch) | |
tree | 0f318625efeaf73c1624afeb6ee1aff04e413ac6 | |
parent | 04362defe7c5cb0d41164dcc533f0383a0edb98b (diff) |
change parameter name from ip to port
-rw-r--r-- | core/io/stream_peer_tcp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/stream_peer_tcp.cpp b/core/io/stream_peer_tcp.cpp index 0e75e22767..f83c174084 100644 --- a/core/io/stream_peer_tcp.cpp +++ b/core/io/stream_peer_tcp.cpp @@ -32,7 +32,7 @@ StreamPeerTCP* (*StreamPeerTCP::_create)()=NULL; void StreamPeerTCP::_bind_methods() { - ObjectTypeDB::bind_method(_MD("connect","host","ip"),&StreamPeerTCP::connect); + ObjectTypeDB::bind_method(_MD("connect","host","port"),&StreamPeerTCP::connect); ObjectTypeDB::bind_method(_MD("is_connected"),&StreamPeerTCP::is_connected); ObjectTypeDB::bind_method(_MD("get_status"),&StreamPeerTCP::get_status); ObjectTypeDB::bind_method(_MD("get_connected_host"),&StreamPeerTCP::get_connected_host); |