change ped's input upload rate to 60 (was 30)

This commit is contained in:
in0finite 2022-05-06 18:40:26 +02:00
parent 13897954d5
commit 677105ce55
2 changed files with 2 additions and 2 deletions

View file

@ -433,7 +433,7 @@ MonoBehaviour:
shouldPlayAnims: 1
m_cameraClampValue: {x: 60, y: 60}
m_maxHealth: 100
m_inputSendInterval: 0.033333335
m_inputSendInterval: 0.016666668
m_enterVehicleRadius: 2
--- !u!114 &114173420020992462
MonoBehaviour:

View file

@ -11,7 +11,7 @@ namespace SanAndreasUnity.Behaviours
{
public CustomNetworkTransform NetTransform { get; private set; }
[Range(1f / 60f, 0.5f)] [SerializeField] float m_inputSendInterval = 1f / 30f;
[Range(1f / 60f, 0.5f)] [SerializeField] float m_inputSendInterval = 1f / 60f;
float m_timeSinceSentInput = 0f;
[SyncVar] GameObject m_net_playerOwnerGameObject;