From b77061fed2c6c8fe8376ee38c722c79f2a39f38e Mon Sep 17 00:00:00 2001 From: CoCoSol007 Date: Wed, 21 Feb 2024 18:50:58 +0100 Subject: [PATCH] save --- crates/border-wars/src/map/generation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;