mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Smaller worldgen range
Former-commit-id: 4c156376b5a835dadd5709b91a38ec8e00ab72fd
This commit is contained in:
parent
bdf0e92e45
commit
b8418c116f
@ -204,8 +204,8 @@ impl Client {
|
||||
}
|
||||
|
||||
// Request chunks from the server
|
||||
for i in chunk_pos.x - 1..chunk_pos.x + 2 {
|
||||
for j in chunk_pos.y - 1..chunk_pos.y + 2 {
|
||||
for i in chunk_pos.x - 0..chunk_pos.x + 1 {
|
||||
for j in chunk_pos.y - 0..chunk_pos.y + 1 {
|
||||
for k in 0..2 {
|
||||
let key = Vec3::new(i, j, k);
|
||||
if self.state.terrain().get_key(key).is_none()
|
||||
|
Loading…
Reference in New Issue
Block a user