1
0
Fork 0
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:
Perttu Ahola 2011-11-21 14:13:28 +02:00
parent 251b015210
commit 941176cd65
3 changed files with 15 additions and 7 deletions

View file

@ -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);