mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
auth stuff is now saved only when modified
This commit is contained in:
@@ -1728,7 +1728,8 @@ void Server::AsyncRunStep()
|
||||
ScopeProfiler sp(&g_profiler, "Server: saving stuff");
|
||||
|
||||
// Auth stuff
|
||||
m_authmanager.save();
|
||||
if(m_authmanager.isModified())
|
||||
m_authmanager.save();
|
||||
|
||||
// Map
|
||||
JMutexAutoLock lock(m_env_mutex);
|
||||
|
Reference in New Issue
Block a user