From: Matthew Endsley Date: Wed, 3 Feb 2021 08:22:14 +0000 (-0800) Subject: Attempt to resend reliable packets during connection loop X-Git-Tag: 1.0.0~20^2~13 X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=52b72ded323385ef3796cb00ab6f4174faa6f201;p=rhonda%2Fimpostor.hazel.git Attempt to resend reliable packets during connection loop --- diff --git a/Hazel/Udp/UnityUdpClientConnection.cs b/Hazel/Udp/UnityUdpClientConnection.cs index c5fdcec..b5c23bb 100644 --- a/Hazel/Udp/UnityUdpClientConnection.cs +++ b/Hazel/Udp/UnityUdpClientConnection.cs @@ -94,6 +94,7 @@ namespace Hazel.Udp { if (this.State != ConnectionState.Connecting) return; Thread.Sleep(100); + this.ResendPacketsIfNeeded(); } }