From a7eab8b599bc8f93081de100bcc080b6751d7ecf Mon Sep 17 00:00:00 2001 From: metamuffin Date: Fri, 6 Jun 2025 19:11:48 +0200 Subject: smoother camera when autozoom spectator --- client/game.gd | 1 + 1 file changed, 1 insertion(+) (limited to 'client/game.gd') diff --git a/client/game.gd b/client/game.gd index 100125fd..4cdcaf43 100644 --- a/client/game.gd +++ b/client/game.gd @@ -397,6 +397,7 @@ func get_tile_interactive(pos: Vector2i) -> bool: func update_center(): + $FollowCamera.autozoom = spectating_mode == SpectatingMode.CENTER if join_state != JoinState.SPECTATING: return if Input.get_vector("left", "right", "forwards", "backwards").normalized().length() > .1: -- cgit v1.2.3-70-g09d2