Merge branch 'imbris/fix-test-server' into 'master'

Fix test server

See merge request veloren/veloren!1754
This commit is contained in:
Imbris 2021-02-04 06:23:09 +00:00
commit 2248b5cc2d

View File

@ -52,7 +52,8 @@ impl World {
let (x, y) = chunk_pos.map(|e| e.to_le_bytes()).into_tuple();
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],
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;