save
All checks were successful
Rust Checks / checks (push) Successful in 1m14s
Rust Checks / checks (pull_request) Successful in 1m12s

This commit is contained in:
CoCo_Sol 2024-02-21 18:50:58 +01:00
parent 0caf97d9b8
commit b77061fed2

View file

@ -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;