fix clippy
Some checks failed
Rust Checks / checks (push) Failing after 1m39s
Rust Checks / checks (pull_request) Failing after 1m16s

This commit is contained in:
CoCo_Sol 2024-02-21 11:50:47 +01:00
parent c80d8191be
commit 2f0875d60e

View file

@ -54,7 +54,7 @@ fn generate_map(
};
if let Some(position) = spiral.next() {
let pixel_position = position.to_pixel_coordinates((0.2, 0.2));
commands.spawn((get_type(pixel_position, &noise), position as TilePosition));
commands.spawn((get_type(pixel_position, noise), position as TilePosition));
} else {
end_map_event.send(EndMapGeneration);
*local_noise = None;