Fix an issue where the lag meter would be stuck after a reconnect caused by a
ping timeout.
This commit is contained in:
parent
26cefd0587
commit
89078eb3b3
@ -489,6 +489,7 @@ server_connected (server * serv)
|
||||
{
|
||||
prefs.wait_on_exit = TRUE;
|
||||
serv->ping_recv = time (0);
|
||||
serv->lag_sent = 0;
|
||||
serv->connected = TRUE;
|
||||
set_nonblocking (serv->sok);
|
||||
serv->iotag = fe_input_add (serv->sok, FIA_READ|FIA_EX, server_read, serv);
|
||||
|
Loading…
Reference in New Issue
Block a user