mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Avoid generating the same chunk more than once with multiple emerge threads.
This commit is contained in:
parent
9bb381ebd3
commit
f1d72d212a
11 changed files with 5 additions and 50 deletions
|
@ -423,6 +423,7 @@ private:
|
|||
// Chunks
|
||||
core::map<v2s16, MapChunk*> m_chunks;
|
||||
#endif
|
||||
std::set<v3s16> m_chunks_in_progress;
|
||||
|
||||
/*
|
||||
Metadata is re-written on disk only if this is true.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue