summaryrefslogtreecommitdiffstats
path: root/source/ClientHandle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/ClientHandle.cpp')
-rw-r--r--source/ClientHandle.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/source/ClientHandle.cpp b/source/ClientHandle.cpp
index af0f686d1..8d2ea359d 100644
--- a/source/ClientHandle.cpp
+++ b/source/ClientHandle.cpp
@@ -1061,10 +1061,6 @@ void cClientHandle::Tick(float a_Dt)
if (cWorld::GetTime() - m_TimeLastPacket > 30.f) // 30 seconds time-out
{
SendDisconnect("Nooooo!! You timed out! D: Come back!");
-
- // TODO: Cannot sleep in the tick thread!
- cSleep::MilliSleep(1000); // Give packet some time to be received
-
Destroy();
}