Use topographic map for town selection screen.

This commit is contained in:
Sam 2023-04-01 17:10:44 -04:00
parent ab4e3d23e3
commit 2e6d55a78b
2 changed files with 3 additions and 1 deletions

View File

@ -149,6 +149,8 @@ impl WorldData {
pub fn map_image(&self) -> &Arc<DynamicImage> { &self.map.0[0] }
pub fn topo_map_image(&self) -> &Arc<DynamicImage> { &self.map.0[1] }
pub fn min_chunk_alt(&self) -> f32 { self.map.2.x }
pub fn max_chunk_alt(&self) -> f32 { self.map.2.y }

View File

@ -1972,7 +1972,7 @@ impl CharSelectionUi {
default_name,
client.server_info(),
ui.add_graphic(Graphic::Image(
Arc::clone(client.world_data().map_image()),
Arc::clone(client.world_data().topo_map_image()),
Some(default_water_color()),
)),
client.sites()