summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-29 23:03:38 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-29 23:03:38 +0200
commit325904470cf4d29a45fc5990d61d91b3215fdc0a (patch)
treede62d10593b232aab8885218fc2cda0d15208fea /source
parentBeds can be slept in now (it doesn't change the time though) (diff)
downloadcuberite-325904470cf4d29a45fc5990d61d91b3215fdc0a.tar
cuberite-325904470cf4d29a45fc5990d61d91b3215fdc0a.tar.gz
cuberite-325904470cf4d29a45fc5990d61d91b3215fdc0a.tar.bz2
cuberite-325904470cf4d29a45fc5990d61d91b3215fdc0a.tar.lz
cuberite-325904470cf4d29a45fc5990d61d91b3215fdc0a.tar.xz
cuberite-325904470cf4d29a45fc5990d61d91b3215fdc0a.tar.zst
cuberite-325904470cf4d29a45fc5990d61d91b3215fdc0a.zip
Diffstat (limited to '')
-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();
}