Fix camera

This commit is contained in:
in0finite 2019-04-24 22:27:59 +02:00
parent f22f1ae400
commit 6fd35e35ff

View file

@ -34,7 +34,7 @@ namespace SanAndreasUnity.Behaviours
#region Inspector Fields
public Camera Camera;
public Camera Camera { get { return this == Ped.Instance ? Camera.main : null; } }
public PedModel PlayerModel;
public bool shouldPlayAnims = true;