1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 08:35:20 +02:00

Drop Server::m_enable_rollback_recording it's only used in server constructor

This commit is contained in:
Loic Blot
2018-03-16 09:12:39 +01:00
parent 95ce5583a9
commit 478b785bc8
2 changed files with 1 additions and 3 deletions

View File

@@ -262,8 +262,7 @@ Server::Server(
// Initialize mapgens
m_emerge->initMapgens(servermap->getMapgenParams());
m_enable_rollback_recording = g_settings->getBool("enable_rollback_recording");
if (m_enable_rollback_recording) {
if (g_settings->getBool("enable_rollback_recording")) {
// Create rollback manager
m_rollback = new RollbackManager(m_path_world, this);
}