Fixed Camera2D's reset_smoothing() does not work as described
(cherry picked from commit 22eaec6895
)
This commit is contained in:
parent
bcd3c9a285
commit
bea67d7763
1 changed files with 1 additions and 1 deletions
|
@ -472,8 +472,8 @@ void Camera2D::force_update_scroll() {
|
|||
}
|
||||
|
||||
void Camera2D::reset_smoothing() {
|
||||
smoothed_camera_pos = camera_pos;
|
||||
_update_scroll();
|
||||
smoothed_camera_pos = camera_pos;
|
||||
}
|
||||
|
||||
void Camera2D::align() {
|
||||
|
|
Loading…
Reference in a new issue