More interesting grass

This commit is contained in:
Daniel Flanagan 2024-08-04 20:30:58 -05:00
parent 56e5524466
commit 172a58162b

View file

@ -51,7 +51,7 @@ pub fn init(mut commands: Commands, assets: Res<AssetServer>) {
for x in 0..size.x {
for y in 0..size.y {
let position = TilePos::new(x, y);
let texture_index = TileTextureIndex(if rng.gen_range(0..1000) > 925 {
let texture_index = TileTextureIndex(if rng.gen_range(0..1000) > 825 {
rng.gen_range(0..(16 * 8))
} else {
0