mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Default to saving stuff more often to minimize lag caused by a single save
This commit is contained in:
parent
251b015210
commit
941176cd65
3 changed files with 15 additions and 7 deletions
|
@ -1300,7 +1300,7 @@ void Server::AsyncRunStep()
|
|||
m_env->step(dtime);
|
||||
}
|
||||
|
||||
const float map_timer_and_unload_dtime = 5.15;
|
||||
const float map_timer_and_unload_dtime = 2.92;
|
||||
if(m_map_timer_and_unload_interval.step(dtime, map_timer_and_unload_dtime))
|
||||
{
|
||||
JMutexAutoLock lock(m_env_mutex);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue