1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-27 17:28:41 +00:00

Reduce active mgmt interval for a bit when a player joins. (#12925)

This commit is contained in:
lhofhansl 2022-11-10 15:25:38 -08:00 committed by GitHub
parent 00eb65915f
commit 1a045da0dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 6 deletions

View file

@ -462,7 +462,7 @@ private:
IntervalLimiter m_object_management_interval;
// List of active blocks
ActiveBlockList m_active_blocks;
bool m_force_update_active_blocks = false;
int m_fast_active_block_divider = 1;
IntervalLimiter m_active_blocks_mgmt_interval;
IntervalLimiter m_active_block_modifier_interval;
IntervalLimiter m_active_blocks_nodemetadata_interval;