Raise stone layer up a bit

This commit is contained in:
crumblingstatue 2023-04-03 12:43:59 +02:00
parent bb25d62561
commit 165577e516

View file

@ -110,7 +110,7 @@ impl Chunk {
pub fn gen(pos: ChunkPos) -> Self {
let mut rng = thread_rng();
let mut tiles = [Tile { id: 0 }; CHUNK_N_TILES];
if pos.y > 40 {
if pos.y > 38 {
for b in &mut tiles {
b.id = rng.gen_range(1..5);
}