diff --git a/client/src/lib.rs b/client/src/lib.rs index ded693e967..0bdd0e0997 100644 --- a/client/src/lib.rs +++ b/client/src/lib.rs @@ -281,7 +281,7 @@ pub struct CharacterList { } /// Higher than what's needed at VD = 65. -const TOTAL_PENDING_CHUNKS_LIMIT: usize = /*1024*/13800; +const TOTAL_PENDING_CHUNKS_LIMIT: usize = /*1024*//*13800*/12; impl Client { pub async fn new( @@ -1921,8 +1921,8 @@ impl Client { if !skip_mode && !self.pending_chunks.contains_key(key) { const CURRENT_TICK_PENDING_CHUNKS_LIMIT: usize = /*8 * 4*/2; if self.pending_chunks.len() < TOTAL_PENDING_CHUNKS_LIMIT - && /* current_tick_send_chunk_requests - < CURRENT_TICK_PENDING_CHUNKS_LIMIT */true + && current_tick_send_chunk_requests + < CURRENT_TICK_PENDING_CHUNKS_LIMIT { self.send_msg_err(ClientGeneral::TerrainChunkRequest { key: *key,