1
0

Fixed SendUnloadChunk bug (#3353)

This commit is contained in:
LogicParrot 2016-08-28 12:42:34 +03:00 committed by GitHub
parent 40b929c02e
commit d5b3fbcadb

View File

@ -1886,7 +1886,7 @@ void cClientHandle::RemoveFromWorld(void)
} }
for (auto && Chunk : Chunks) for (auto && Chunk : Chunks)
{ {
m_Protocol->SendUnloadChunk(Chunk.m_ChunkX, Chunk.m_ChunkZ); SendUnloadChunk(Chunk.m_ChunkX, Chunk.m_ChunkZ);
} // for itr - Chunks[] } // for itr - Chunks[]
// Here, we set last streamed values to bogus ones so everything is resent // Here, we set last streamed values to bogus ones so everything is resent