Skip to content

Commit 6fe1cc9

Browse files
authored
Merge pull request #150 from Jupeyy/pr_client_improvements11
Reduce map download window (breaks too often)
2 parents 9b9e977 + cb57f2a commit 6fe1cc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

game/legacy-proxy/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2387,7 +2387,7 @@ impl Client {
23872387
log.log(format!("Received map chunk: {}", map_data.chunk));
23882388
log.log(format!("{total_len} of {expected_size} bytes downloaded"));
23892389
let downloading_chunks = data.values().filter(|d| d.is_empty()).count();
2390-
for i in next_chunk..next_chunk + 50usize.saturating_sub(downloading_chunks)
2390+
for i in next_chunk..next_chunk + 10usize.saturating_sub(downloading_chunks)
23912391
{
23922392
data.insert(i, Default::default());
23932393
socket.sends(System::RequestMapData(system::RequestMapData {

0 commit comments

Comments
 (0)