diff options
| author | Ignacio Etcheverry | 2017-08-20 17:45:01 +0200 |
|---|---|---|
| committer | Ignacio Etcheverry | 2017-08-20 22:07:43 +0200 |
| commit | 32dd9a9f668db31e348c5ef5bc181cdb91c07299 (patch) | |
| tree | 66d9628611d85ca80f314ee9a65777880ee5ef11 /core/io/stream_peer_tcp.cpp | |
| parent | f6c39830cb7cf0d664bdfa25642b333a1249b96f (diff) | |
| download | godot-32dd9a9f668db31e348c5ef5bc181cdb91c07299.tar.gz godot-32dd9a9f668db31e348c5ef5bc181cdb91c07299.tar.zst godot-32dd9a9f668db31e348c5ef5bc181cdb91c07299.zip | |
Diffstat (limited to 'core/io/stream_peer_tcp.cpp')
| -rw-r--r-- | core/io/stream_peer_tcp.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/io/stream_peer_tcp.cpp b/core/io/stream_peer_tcp.cpp index 5c859ea7c..ae5603aa3 100644 --- a/core/io/stream_peer_tcp.cpp +++ b/core/io/stream_peer_tcp.cpp @@ -55,10 +55,10 @@ void StreamPeerTCP::_bind_methods() { ClassDB::bind_method(D_METHOD("get_connected_port"), &StreamPeerTCP::get_connected_port); ClassDB::bind_method(D_METHOD("disconnect_from_host"), &StreamPeerTCP::disconnect_from_host); - BIND_CONSTANT(STATUS_NONE); - BIND_CONSTANT(STATUS_CONNECTING); - BIND_CONSTANT(STATUS_CONNECTED); - BIND_CONSTANT(STATUS_ERROR); + BIND_ENUM_CONSTANT(STATUS_NONE); + BIND_ENUM_CONSTANT(STATUS_CONNECTING); + BIND_ENUM_CONSTANT(STATUS_CONNECTED); + BIND_ENUM_CONSTANT(STATUS_ERROR); } Ref<StreamPeerTCP> StreamPeerTCP::create_ref() { |
