make fn pub
This commit is contained in:
parent
f3b8d44034
commit
3d5b5d37b6
1 changed files with 1 additions and 1 deletions
|
@ -287,7 +287,7 @@ impl Overworld {
|
||||||
chunk.get_tile(local_chunk_coords)
|
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) =
|
let (chunk_coords, local_chunk_coords) =
|
||||||
world_to_chunk_and_local_coords(world_coords);
|
world_to_chunk_and_local_coords(world_coords);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue