Skip to content

Commit e29d98f

Browse files
committed
Kill connection to client on send failure.
1 parent b8d1683 commit e29d98f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

IngameNetManager.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -809,6 +809,7 @@ void FixedUpdate()
809809
{
810810
Plugin.logger.LogError($"Failure {res}");
811811
ServerConnections.RemoveAt(i);
812+
SteamNetworkingSockets.CloseConnection(connection, 0, null, false);
812813
}
813814
}
814815

0 commit comments

Comments
 (0)