1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Add an active object step time budget #6721

This can be set via the active_object_interval option.
This commit is contained in:
Lars Hofhansl 2017-12-06 12:21:46 -08:00
parent e049405fdc
commit 9c669016d1
7 changed files with 68 additions and 38 deletions

View file

@ -36,6 +36,7 @@ Environment::Environment(IGameDef *gamedef):
m_cache_enable_shaders = g_settings->getBool("enable_shaders");
m_cache_active_block_mgmt_interval = g_settings->getFloat("active_block_mgmt_interval");
m_cache_abm_interval = g_settings->getFloat("abm_interval");
m_cache_ao_interval = g_settings->getFloat("active_object_interval");
m_cache_nodetimer_interval = g_settings->getFloat("nodetimer_interval");
m_time_of_day = g_settings->getU32("world_start_time");