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