generated from tipragot/rust
Add a renderer system with temp assets #60
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue