diff --git a/src/engine/client/client.cpp b/src/engine/client/client.cpp index c0be7bc05..a8e446acf 100644 --- a/src/engine/client/client.cpp +++ b/src/engine/client/client.cpp @@ -1709,6 +1709,15 @@ void CClient::Update() ActionTaken = Now; } } + else + { + if(Now > ActionTaken+time_freq()*(10+g_Config.m_DbgStress)) + { + m_pConsole->Print(IConsole::OUTPUT_LEVEL_DEBUG, "stress", "disconnecting!"); + Disconnect(); + ActionTaken = Now; + } + } } // pump the network