1
0

cChunk::SetAlwaysTicked implies cChunk::stay (#3361)

This commit is contained in:
LogicParrot
2016-10-09 15:46:09 +03:00
committed by GitHub
parent cab09f54d3
commit 1e8cae6415
4 changed files with 5 additions and 3 deletions

View File

@@ -2762,7 +2762,7 @@ void cChunkMap::QueueTickBlock(int a_BlockX, int a_BlockY, int a_BlockZ)
void cChunkMap::SetChunkAlwaysTicked(int a_ChunkX, int a_ChunkZ, bool a_AlwaysTicked)
{
cCSLock Lock(m_CSChunks);
cChunkPtr Chunk = GetChunkNoLoad(a_ChunkX, a_ChunkZ);
cChunkPtr Chunk = GetChunk(a_ChunkX, a_ChunkZ);
if (Chunk != nullptr)
{
Chunk->SetAlwaysTicked(a_AlwaysTicked);