1
0

Exported cWorld:PrepareChunk to Lua API, test in Debuggers.

This commit is contained in:
Mattes D
2014-12-12 13:32:52 +01:00
parent 1142879cc8
commit 6cd7e52eb7
2 changed files with 73 additions and 1 deletions

View File

@@ -1689,7 +1689,12 @@ function HandleConsolePrepareChunk(a_Split)
end
end
-- TODO: Queue the chunk for preparing, log a message when prepared
-- Queue the chunk for preparing, log a message when prepared:
world:PrepareChunk(chunkX, chunkZ,
function(a_CBChunkX, a_CBChunkZ)
LOG("Chunk [" .. chunkX .. ", " .. chunkZ .. "] has been prepared")
end
)
return true
end