diff options
author | Mattes D <github@xoft.cz> | 2014-01-04 12:52:58 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-01-04 12:52:58 +0100 |
commit | 4d7f2139981ac6947cc987a6b4d6d46646ebc480 (patch) | |
tree | 4a5067e4a9fe55486d08ac1d2e9517aa8531cebe /src/World.cpp | |
parent | Merge pull request #502 from bitdeli-chef/master (diff) | |
parent | Fixed Documentation (diff) | |
download | cuberite-4d7f2139981ac6947cc987a6b4d6d46646ebc480.tar cuberite-4d7f2139981ac6947cc987a6b4d6d46646ebc480.tar.gz cuberite-4d7f2139981ac6947cc987a6b4d6d46646ebc480.tar.bz2 cuberite-4d7f2139981ac6947cc987a6b4d6d46646ebc480.tar.lz cuberite-4d7f2139981ac6947cc987a6b4d6d46646ebc480.tar.xz cuberite-4d7f2139981ac6947cc987a6b4d6d46646ebc480.tar.zst cuberite-4d7f2139981ac6947cc987a6b4d6d46646ebc480.zip |
Diffstat (limited to '')
-rw-r--r-- | src/World.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/World.cpp b/src/World.cpp index cc543d460..39300d419 100644 --- a/src/World.cpp +++ b/src/World.cpp @@ -367,10 +367,13 @@ void cWorld::InitializeSpawn(void) cWorldLoadProgress Progress(this); // Wait for the loader to finish loading - m_Storage.WaitForQueuesEmpty(); + m_Storage.WaitForLoadQueueEmpty(); // Wait for the generator to finish generating m_Generator.WaitForQueueEmpty(); + + // Wait for the loader to finish saving + m_Storage.WaitForSaveQueueEmpty(); Progress.Stop(); } |