diff --git a/code/modules/client/client_procs.dm b/code/modules/client/client_procs.dm index e05d1d06c4..2c85b46603 100644 --- a/code/modules/client/client_procs.dm +++ b/code/modules/client/client_procs.dm @@ -535,7 +535,11 @@ GLOBAL_LIST_EMPTY(external_rsc_urls) cidcheck[ckey] = computer_id tokens[ckey] = cid_check_reconnect() - sleep(10) //browse is queued, we don't want them to disconnect before getting the browse() command. + sleep(15 SECONDS) //Longer sleep here since this would trigger if a client tries to reconnect manually because the inital reconnect failed + + //we sleep after telling the client to reconnect, so if we still exist something is up + log_access("Forced disconnect: [key] [computer_id] [address] - CID randomizer check") + qdel(src) return TRUE @@ -577,7 +581,11 @@ GLOBAL_LIST_EMPTY(external_rsc_urls) cidcheck[ckey] = computer_id tokens[ckey] = cid_check_reconnect() - sleep(10) //browse is queued, we don't want them to disconnect before getting the browse() command. + sleep(5 SECONDS) //browse is queued, we don't want them to disconnect before getting the browse() command. + + //we sleep after telling the client to reconnect, so if we still exist something is up + log_access("Forced disconnect: [key] [computer_id] [address] - CID randomizer check") + qdel(src) return TRUE