diff --git a/crates/border-wars/src/map/generation.rs b/crates/border-wars/src/map/generation.rs index 0869672..0d40357 100644 --- a/crates/border-wars/src/map/generation.rs +++ b/crates/border-wars/src/map/generation.rs @@ -65,7 +65,7 @@ fn generate_map( // If the map is generated, we send [EndMapGeneration] and set the local // variables to None. if let Some(position) = spiral.next() { - commands.spawn((get_type_tile(position, noise), position as TilePosition)); + commands.spawn((get_tile_type(position, noise), position as TilePosition)); } else { end_generation_writer.send(EndMapGeneration); *local_noise = None;