From 478b785bc8d8f82b69b23f22ea8a69007db10d9e Mon Sep 17 00:00:00 2001 From: Loic Blot Date: Fri, 16 Mar 2018 09:12:39 +0100 Subject: Drop Server::m_enable_rollback_recording it's only used in server constructor --- src/server.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/server.cpp') diff --git a/src/server.cpp b/src/server.cpp index 0f9394300..166aa4db0 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -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); } -- cgit v1.2.3