summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ChunkStay.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ChunkStay.cpp b/src/ChunkStay.cpp
index e86501c4e..cce8d5f4d 100644
--- a/src/ChunkStay.cpp
+++ b/src/ChunkStay.cpp
@@ -84,9 +84,9 @@ void cChunkStay::Enable(cChunkMap & a_ChunkMap)
{
ASSERT(m_ChunkMap == NULL);
+ m_OutstandingChunks = m_Chunks;
m_ChunkMap = &a_ChunkMap;
a_ChunkMap.AddChunkStay(*this);
- m_OutstandingChunks = m_Chunks;
}