1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-11 17:51:04 +00: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
No known key found for this signature in database
GPG key ID: EFAA458E8C153987
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);
}