[Net] Fix StreamPeerTCP accepted status.

This commit is contained in:
Fabio Alessandrelli 2022-05-04 20:08:11 +02:00
parent 84f64ddde9
commit e5137fafbe
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ void StreamPeerTCP::accept_socket(Ref<NetSocket> p_sock, IPAddress p_host, uint1
_sock->set_blocking_enabled(false);
timeout = OS::get_singleton()->get_ticks_msec() + (((uint64_t)GLOBAL_GET("network/limits/tcp/connect_timeout_seconds")) * 1000);
status = STATUS_CONNECTING;
status = STATUS_CONNECTED;
peer_host = p_host;
peer_port = p_port;