remove some spamming logs

This commit is contained in:
in0finite 2019-07-11 17:36:31 +02:00
parent 968e8b53fb
commit fe257c58ec
2 changed files with 8 additions and 2 deletions

View file

@ -173,7 +173,7 @@ namespace SanAndreasUnity.Behaviours
void Net_OnIdChanged(int newId)
{
Debug.LogFormat("ped (net id {0}) changed model id to {1}", this.netId, newId);
//Debug.LogFormat("ped (net id {0}) changed model id to {1}", this.netId, newId);
if (this.isServer)
return;
@ -231,7 +231,7 @@ namespace SanAndreasUnity.Behaviours
F.RunExceptionSafe( () => {
Debug.LogFormat("weapon slot changed for ped {0} to {1}", this.DescriptionForLogging, newSlot);
//Debug.LogFormat("weapon slot changed for ped {0} to {1}", this.DescriptionForLogging, newSlot);
if (this.CurrentState != null)
{

View file

@ -16,12 +16,18 @@
- add dates to logs
- remove spamming logs: weapon slot changed ; ped changed model ;
- sometimes, current vehicle is null on client
- vehicle states should handle situation when current vehicle is null (on client)
***
- weapon sound should be 3d
- EnableOrDisableGunFlash() throws NRE when ped dies
***
- **vehicle is bumping on clients** - disable (or destroy) wheel colliders, and sync them - this should not be done on local player, see below