Skip to content

Commit 1685aa5

Browse files
committed
added some missing stuff
1 parent 52503e4 commit 1685aa5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -226,10 +226,10 @@ RequestingConnection: global
226226
{
227227
SystemAddress: address;
228228
RequestsMade;
229-
SendConnectionAttemptCount;
229+
SendConnectionAttemptCount defaults to 15;
230230
IsConnecting;
231231
NextRequestTime;
232-
TimeBetweenConnectionAttempts;
232+
TimeBetweenConnectionAttempts defaults to 500;
233233
};
234234

235235
g_RequestedConnections: DynamicArray;
@@ -241,7 +241,7 @@ loop i < g_NumOfRequestedConnections then
241241
s_timeNow := current time ms;
242242
if s_rcs->NextRequestTime < s_timeNow then
243243
s_unsetAddr := s_rcs->SystemAddress is unset;
244-
s_tooManyRequests := s_rcs->RequestsMade is s_rcs->SendConnectionAttemptCount+1
244+
s_tooManyRequests := s_rcs->RequestsMade is s_rcs->SendConnectionAttemptCount + 1
245245
if s_unsetAddr or s_tooManyRequests then
246246
if (s_tooManyRequests and !s_unsetAddr and s_rcs->IsConnecting) then
247247
// send ConnectionAttemptFailed packet.

0 commit comments

Comments
 (0)