Merge pull request #50935 from Vitika9/50807

This commit is contained in:
Rémi Verschelde 2021-07-30 23:37:07 +02:00 committed by GitHub
commit 63be3c1f00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -483,8 +483,8 @@ void Camera2D::force_update_scroll() {
} }
void Camera2D::reset_smoothing() { void Camera2D::reset_smoothing() {
smoothed_camera_pos = camera_pos;
_update_scroll(); _update_scroll();
smoothed_camera_pos = camera_pos;
} }
void Camera2D::align() { void Camera2D::align() {