Update crates/border-wars/src/map/generation.rs
Some checks failed
Rust Checks / checks (push) Failing after 5s
Rust Checks / checks (pull_request) Failing after 4s

This commit is contained in:
CoCo_Sol 2024-02-21 10:38:51 +00:00
parent 74d81721c7
commit 3ebe60d6cd

View file

@ -73,7 +73,7 @@ fn get_type(position: (f32, f32), noise: &Perlin) -> Tile {
} }
} }
/// Despawns the tiles if the event : [MapGenerationEvent] is received. /// Despawns the tiles if the event : [StartMapGeneration] is received.
fn delete_map( fn delete_map(
mut commands: Commands, mut commands: Commands,
query: Query<Entity, With<Tile>>, query: Query<Entity, With<Tile>>,