mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Merge branch 'imbris/fix-test-server' into 'master'
Fix test server See merge request veloren/veloren!1754
This commit is contained in:
@ -52,7 +52,8 @@ impl World {
|
|||||||
let (x, y) = chunk_pos.map(|e| e.to_le_bytes()).into_tuple();
|
let (x, y) = chunk_pos.map(|e| e.to_le_bytes()).into_tuple();
|
||||||
let mut rng = SmallRng::from_seed([
|
let mut rng = SmallRng::from_seed([
|
||||||
x[0], x[1], x[2], x[3], y[0], y[1], y[2], y[3], x[0], x[1], x[2], x[3], y[0], y[1],
|
x[0], x[1], x[2], x[3], y[0], y[1], y[2], y[3], x[0], x[1], x[2], x[3], y[0], y[1],
|
||||||
y[2], y[3],
|
y[2], y[3], x[0], x[1], x[2], x[3], y[0], y[1], y[2], y[3], x[0], x[1], x[2], x[3],
|
||||||
|
y[0], y[1], y[2], y[3],
|
||||||
]);
|
]);
|
||||||
let height = rng.gen::<i32>() % 8;
|
let height = rng.gen::<i32>() % 8;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user