Merge branch 'map-generation' of https://git.tipragot.fr/corentin/border-wars into map-generation
Some checks failed
Rust Checks / checks (push) Failing after 3m39s
Rust Checks / checks (pull_request) Failing after 1m53s

This commit is contained in:
CoCo_Sol 2024-02-21 11:42:33 +01:00
commit c80d8191be

View file

@ -72,7 +72,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>>,