More interesting grass
This commit is contained in:
parent
56e5524466
commit
172a58162b
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue