mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fix singleplayer crash
Former-commit-id: afbcdfe2024befbd5a225db049ce2f9a761e6df6
This commit is contained in:
parent
cc959ccb82
commit
2fc82dcf5e
@ -677,7 +677,7 @@ impl Server {
|
||||
let chunk_tx = self.chunk_tx.clone();
|
||||
let world = self.world.clone();
|
||||
self.thread_pool.execute(move || {
|
||||
let _ = chunk_tx.send((key, world.generate_chunk(key))).unwrap();
|
||||
let _ = chunk_tx.send((key, world.generate_chunk(key)));
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user