From e8eb7a77a1f8a789ed19356691202b6002afd3fe Mon Sep 17 00:00:00 2001 From: hut Date: Sat, 20 Apr 2024 02:36:45 +0200 Subject: [PATCH] reduced starting map zoom level --- src/camera.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/camera.rs b/src/camera.rs index ba2bdef..b196070 100644 --- a/src/camera.rs +++ b/src/camera.rs @@ -154,7 +154,7 @@ pub fn update_map_camera( // Update zoom level if !mapcam.initialized { - let factor = if target == player_transform { 100.0 } else { 1.0 }; + let factor = if target == player_transform { 7.0 } else { 1.0 }; mapcam.target_zoom_level *= target.scale.x * factor; mapcam.zoom_level *= target.scale.x * factor; mapcam.initialized = true;