2
0
Fork 0
mirror of https://github.com/GTA-ASM/SanAndreasUnity synced 2025-03-05 07:37:17 +00:00

only on server

This commit is contained in:
in0finite 2019-07-07 18:37:33 +02:00
parent 4551cb67e9
commit 49eaf4140f

View file

@ -271,7 +271,10 @@ namespace SanAndreasUnity.Behaviours.Peds.States
// if (!ped.IsFireOn || !ped.IsAimOn)
{
// no longer firing
ped.StopFiring ();
if (Net.NetStatus.IsServer)
{
ped.StopFiring ();
}
}
}
} else {