mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-10 14:44:17 +00:00
Fix camera
This commit is contained in:
parent
f22f1ae400
commit
6fd35e35ff
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue