瀏覽代碼

fixed that old chnks do not disapear

Kolja Strohm 3 年之前
父節點
當前提交
f15e41408d
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      FactoryCraft/Dimension.cpp

+ 1 - 0
FactoryCraft/Dimension.cpp

@@ -65,6 +65,7 @@ void Dimension::setChunk( Chunk* chunk, Punkt center, World* zWorld )
     cs.lock();
     if( old )
     {
+        zWorld->setVisibility( old, 0 );
         int index = 0;
         for( auto iterator = chunkList.begin(); iterator; ++iterator, ++index )
         {