mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
fmt
Former-commit-id: ba065e557c6309cfd7a743db5b52544ee57c3469
This commit is contained in:
parent
7e8d8f4471
commit
04f83732e1
@ -241,7 +241,8 @@ impl Client {
|
||||
|
||||
// If chunks are taking too long, assume they're no longer pending
|
||||
let now = Instant::now();
|
||||
self.pending_chunks.retain(|_, created| now.duration_since(*created) < Duration::from_secs(10));
|
||||
self.pending_chunks
|
||||
.retain(|_, created| now.duration_since(*created) < Duration::from_secs(10));
|
||||
}
|
||||
|
||||
// Finish the tick, pass control back to the frontend (step 6)
|
||||
|
Loading…
Reference in New Issue
Block a user