kopia lustrzana https://gitlab.com/gridtracker.org/gridtracker
Delay connecting intially for atleast 15 seconds from startup
rodzic
6b6c829609
commit
ffb9d2f411
|
@ -165,7 +165,8 @@ function gtClosedSocket()
|
|||
g_gtState = ChatState.none;
|
||||
}
|
||||
|
||||
var g_lastConnectAttempt = 0;
|
||||
// Connect 15 seconds after startup
|
||||
var g_lastConnectAttempt = parseInt(Date.now() / 1000) - 15;
|
||||
|
||||
function gtCanConnect()
|
||||
{
|
||||
|
|
Ładowanie…
Reference in New Issue