mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-14 19:55:02 +01:00
Raise stone layer up a bit
This commit is contained in:
parent
bb25d62561
commit
165577e516
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue