Static World Gen and Display for the Overworld #5
1 changed files with 1 additions and 1 deletions
|
@ -287,7 +287,7 @@ impl Overworld {
|
|||
chunk.get_tile(local_chunk_coords)
|
||||
}
|
||||
|
||||
fn get_or_generate_tile(&mut self, world_coords: IVec2) -> &Tile {
|
||||
pub fn get_or_generate_tile(&mut self, world_coords: IVec2) -> &Tile {
|
||||
let (chunk_coords, local_chunk_coords) =
|
||||
world_to_chunk_and_local_coords(world_coords);
|
||||
|
||||
|
|
Loading…
Reference in a new issue