summaryrefslogtreecommitdiffstats
path: root/src/Chunk.cpp
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2016-08-29 15:57:51 +0200
committerLogicParrot <LogicParrot@users.noreply.github.com>2016-09-03 17:41:06 +0200
commit25fa432753d9a60a23e8e84ebe7ef3b3f10d06ef (patch)
tree9b1c4f92daf3ec5422876bbe4cea604048d90dac /src/Chunk.cpp
parentConfigurable dirty unused chunk cap to avoid RAM overuse (#3359) (diff)
downloadcuberite-25fa432753d9a60a23e8e84ebe7ef3b3f10d06ef.tar
cuberite-25fa432753d9a60a23e8e84ebe7ef3b3f10d06ef.tar.gz
cuberite-25fa432753d9a60a23e8e84ebe7ef3b3f10d06ef.tar.bz2
cuberite-25fa432753d9a60a23e8e84ebe7ef3b3f10d06ef.tar.lz
cuberite-25fa432753d9a60a23e8e84ebe7ef3b3f10d06ef.tar.xz
cuberite-25fa432753d9a60a23e8e84ebe7ef3b3f10d06ef.tar.zst
cuberite-25fa432753d9a60a23e8e84ebe7ef3b3f10d06ef.zip
Diffstat (limited to '')
-rw-r--r--src/Chunk.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Chunk.cpp b/src/Chunk.cpp
index d833feea5..508fe355e 100644
--- a/src/Chunk.cpp
+++ b/src/Chunk.cpp
@@ -1728,10 +1728,12 @@ void cChunk::SetAlwaysTicked(bool a_AlwaysTicked)
if (a_AlwaysTicked)
{
m_AlwaysTicked += 1;
+ Stay(a_AlwaysTicked);
}
else
{
m_AlwaysTicked -= 1;
+ Stay(a_AlwaysTicked);
}
}