Skip to content

Commit

Permalink
Missing confirmation of LockCameraDrag
Browse files Browse the repository at this point in the history
  • Loading branch information
Snow1226 committed Jul 6, 2021
1 parent 4b62131 commit 4bcf818
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CameraPlus/Behaviours/CameraMoverPointer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ private static void EndDragCamera()
_targetCamera.Config.Position = _targetCamera.transform.position;
_targetCamera.Config.Rotation = _targetCamera.transform.rotation.eulerAngles;

_targetCamera.Config.Save();
if(!_targetCamera.Config.LockCameraDrag)
_targetCamera.Config.Save();
_targetCamera = null;
}

Expand Down

0 comments on commit 4bcf818

Please sign in to comment.