mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Add count based unload limit for mapblocks
This commit is contained in:
@@ -594,7 +594,8 @@ void Server::AsyncRunStep(bool initial_step)
|
||||
// Run Map's timers and unload unused data
|
||||
ScopeProfiler sp(g_profiler, "Server: map timer and unload");
|
||||
m_env->getMap().timerUpdate(map_timer_and_unload_dtime,
|
||||
g_settings->getFloat("server_unload_unused_data_timeout"));
|
||||
g_settings->getFloat("server_unload_unused_data_timeout"),
|
||||
(u32)-1);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user