summaryrefslogtreecommitdiff
path: root/client/player
diff options
context:
space:
mode:
Diffstat (limited to 'client/player')
-rw-r--r--client/player/follow_camera.gd4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/player/follow_camera.gd b/client/player/follow_camera.gd
index b080f76e..905d4938 100644
--- a/client/player/follow_camera.gd
+++ b/client/player/follow_camera.gd
@@ -78,8 +78,8 @@ func follow(delta):
return
var invert_factor = -1 if Global.get_setting("gameplay.invert_camera") else 1;
-
- if not _disable_input:
+
+ if not _disable_input:
angle_target += Input.get_axis("rotate_left", "rotate_right") * ROTATE_SPEED * delta * invert_factor
angle = G.interpolate_angle(angle, angle_target, delta * ROTATE_WEIGHT)