forked from Mirrorlandia_minetest/minetest
Set range of blocks to retrieve per roundtrip to 2.
This is a small, partial revert of #6483, which had set this to 1.
This commit is contained in:
parent
f36e323175
commit
cdedaac5e2
@ -205,7 +205,7 @@ void RemoteClient::GetNextBlocks (
|
|||||||
s16 d_max_gen = std::min(m_max_gen_distance, wanted_range);
|
s16 d_max_gen = std::min(m_max_gen_distance, wanted_range);
|
||||||
|
|
||||||
// Don't loop very much at a time
|
// Don't loop very much at a time
|
||||||
s16 max_d_increment_at_time = 1;
|
s16 max_d_increment_at_time = 2;
|
||||||
if (d_max > d_start + max_d_increment_at_time)
|
if (d_max > d_start + max_d_increment_at_time)
|
||||||
d_max = d_start + max_d_increment_at_time;
|
d_max = d_start + max_d_increment_at_time;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user