Fixed cache resolution bug when deleting chunks

This commit is contained in:
Justin Aquadro 2012-01-15 20:52:23 -05:00
parent 5a764a0e3a
commit 3c7ab4d035

View file

@ -504,7 +504,7 @@ namespace Substrate
rf.DeleteChunk(lcx, lcz); rf.DeleteChunk(lcx, lcz);
ChunkKey k = new ChunkKey(lcx, lcz); ChunkKey k = new ChunkKey(ChunkGlobalX(lcx), ChunkGlobalZ(lcz));
_cache.Remove(k); _cache.Remove(k);
if (ChunkCount() == 0) { if (ChunkCount() == 0) {