mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Do not allow the m_transforming_liquid queue to increase until all RAM is consumed
This commit is contained in:
parent
3b902fd574
commit
082256a9f8
4 changed files with 87 additions and 2 deletions
|
@ -366,6 +366,12 @@ protected:
|
|||
|
||||
// Queued transforming water nodes
|
||||
UniqueQueue<v3s16> m_transforming_liquid;
|
||||
|
||||
private:
|
||||
f32 m_transforming_liquid_loop_count_multiplier;
|
||||
u32 m_unprocessed_count;
|
||||
u32 m_inc_trending_up_start_time; // milliseconds
|
||||
bool m_queue_size_timer_started;
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue