mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Oops
This commit is contained in:
parent
ecb68acb77
commit
8dfe53e788
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user