diff options
Diffstat (limited to 'src/Root.cpp')
-rw-r--r-- | src/Root.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/Root.cpp b/src/Root.cpp index b90a229c9..b3712a687 100644 --- a/src/Root.cpp +++ b/src/Root.cpp @@ -577,6 +577,18 @@ void cRoot::SaveAllChunks(void) +void cRoot::SaveAllChunksNow(void) +{ + for (auto & Entry : m_WorldsByName) + { + Entry.second.SaveAllChunks(); + } +} + + + + + void cRoot::SetSavingEnabled(bool a_SavingEnabled) { for (auto & Entry : m_WorldsByName) |