Commit 8550b1f1 authored by JOVANE Alberto's avatar JOVANE Alberto
Browse files

fix camera follow issue

parent 15ef967a
......@@ -200,7 +200,7 @@ public class CamMvt : MonoBehaviour
// --------------------------------
// TRANSLATION - FOLLOWING AN AGENT
if (_camera_type == CameraType.Follow && _camera_type == CameraType.Default)
if (_camera_type == CameraType.Follow || _camera_type == CameraType.Default)
{
transform.position = _position_follow;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment