From 83fe490471a43bcb14b615953196ca66406b42f0 Mon Sep 17 00:00:00 2001 From: Mr_Goldberg Date: Sun, 17 May 2020 00:15:57 -0400 Subject: [PATCH] Added missing connection callback when accepting networking socket connection. --- dll/steam_networking_sockets.h | 1 + 1 file changed, 1 insertion(+) diff --git a/dll/steam_networking_sockets.h b/dll/steam_networking_sockets.h index d9472ca..49fe197 100644 --- a/dll/steam_networking_sockets.h +++ b/dll/steam_networking_sockets.h @@ -406,6 +406,7 @@ EResult AcceptConnection( HSteamNetConnection hConn ) if (connect_socket->second.status != CONNECT_SOCKET_NOT_ACCEPTED) return k_EResultInvalidState; connect_socket->second.status = CONNECT_SOCKET_CONNECTED; send_packet_new_connection(connect_socket->first); + launch_callback(connect_socket->first, CONNECT_SOCKET_NOT_ACCEPTED); return k_EResultOK; }