mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Reduced server CPU usage on NodeMetadata step()s. Also furnace now cooks while no players are near it.
This commit is contained in:
parent
7740425085
commit
bbead93c1a
7 changed files with 163 additions and 80 deletions
|
@ -246,6 +246,7 @@ private:
|
|||
ActiveBlockList m_active_blocks;
|
||||
IntervalLimiter m_active_blocks_management_interval;
|
||||
IntervalLimiter m_active_blocks_test_interval;
|
||||
IntervalLimiter m_active_blocks_nodemetadata_interval;
|
||||
// Time from the beginning of the game in seconds.
|
||||
// Incremented in step().
|
||||
u32 m_game_time;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue