summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.cpp
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-10-23 21:19:43 +0200
committerHowaner <franzi.moos@googlemail.com>2014-10-23 21:19:43 +0200
commit9af58a81d6467829b72801169c8e80a2bab01804 (patch)
tree454cee2b4b47387ba19e7537de3d5d699be7f9fe /src/ClientHandle.cpp
parentMerge branch 'master' into ChunkLoader (diff)
downloadcuberite-9af58a81d6467829b72801169c8e80a2bab01804.tar
cuberite-9af58a81d6467829b72801169c8e80a2bab01804.tar.gz
cuberite-9af58a81d6467829b72801169c8e80a2bab01804.tar.bz2
cuberite-9af58a81d6467829b72801169c8e80a2bab01804.tar.lz
cuberite-9af58a81d6467829b72801169c8e80a2bab01804.tar.xz
cuberite-9af58a81d6467829b72801169c8e80a2bab01804.tar.zst
cuberite-9af58a81d6467829b72801169c8e80a2bab01804.zip
Diffstat (limited to 'src/ClientHandle.cpp')
-rw-r--r--src/ClientHandle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp
index dc360861e..faee05450 100644
--- a/src/ClientHandle.cpp
+++ b/src/ClientHandle.cpp
@@ -463,7 +463,7 @@ bool cClientHandle::StreamNextChunk(void)
// Unloaded chunk found -> Send it to the client.
Lock.Unlock();
- StreamChunk(ChunkX, ChunkZ, cChunkSender::E_CHUNK_PRIORITY_HIGH);
+ StreamChunk(ChunkX, ChunkZ, ((Range <= 2) ? cChunkSender::E_CHUNK_PRIORITY_HIGH : cChunkSender::E_CHUNK_PRIORITY_MEDIUM));
return false;
}
}